* Do not overload entry point * Automatically call Program::__construct() * Automatically call Program::main(); * Fix all tests
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
class Main {
|
||||
class Program {
|
||||
private $s = 'monkey';
|
||||
private $t = 'many monkeys';
|
||||
private $n = 43951789;
|
||||
private $u = -43951789;
|
||||
private $c = 65;
|
||||
|
||||
public function __construct() {
|
||||
public function main() {
|
||||
$this->testMonkey();
|
||||
$this->testNumbers();
|
||||
}
|
||||
@@ -36,5 +36,3 @@ class Main {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
new Main();
|
Reference in New Issue
Block a user