public function testSimple($nr, $answer, $digits) { $x = Decimal::fromString($nr); $arccscX = $x->arccsc($digits); $this->assertTrue(Decimal::fromString($answer)->equals($arccscX), "The answer must be " . $answer . ", but was " . $arccscX); }