public function testVariable(array $args, string $expected) { $coefficients = $args[0]; $variable = $args[1] ?? "x"; $polynomial = new Polynomial($coefficients, $variable); $string = strval($polynomial); $this->assertEquals($expected, $string); }