public function testIsNumeric() { $good = ['1', 1, '0', 0, '42', '1e4', 9.1, '9.1', '+0123.45e6', '-12.2e-6']; $wrong = ['not numeric', [], '123a4', '9,1', '0xBW']; $this->executeTests(new Validator\IsNumeric(), $good, $wrong); }