public function testString(array $coefficients, string $expected) { $polynomial = new Polynomial($coefficients); $string = strval($polynomial); $this->assertEquals($expected, $string); }