public function testAllDigitsInNumberAreUnqiue() { $numnum = new NumNum(20, 50); $expected = [24, 26, 28, 32, 34, 36, 38, 42, 46, 48]; $actual = $numnum->findSpecial(); $this->assertEquals($expected, $actual); }
<?php include 'vendor/autoload.php'; use NumNum\NumNum; $numnum = new NumNum(); $special = $numnum->findSpecial(); var_dump($special);