Exemple #1
0
 public function testBadInfinities()
 {
     try {
         $numeric = \Structure\Structure::NumericS("(inf, 0)");
         $this->fail("An exception was excepted");
     } catch (\Exception $e) {
         $this->addToAssertionCount(1);
     }
     try {
         $numeric = \Structure\Structure::NumericS("(0,-inf)");
         $this->fail("An exception was excepted");
     } catch (\Exception $e) {
         $this->addToAssertionCount(1);
     }
 }