Skip to content

Commit

Permalink
Merge pull request #2 from ibex-team/develop
Browse files Browse the repository at this point in the history
Temporary modification of TestArith::float10 (to see if succeeds under MacOS)
  • Loading branch information
cyrilbouvier committed Mar 17, 2017
2 parents a9f8ada + 092074c commit 4c1e75f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/TestArith.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,10 @@ void TestArith::float06() { CPPUNIT_ASSERT( -DBL_MAX == ibex::next_float(NEG_INF
void TestArith::float07() { CPPUNIT_ASSERT( DBL_MAX == ibex::previous_float(POS_INFINITY)); }
void TestArith::float08() { CPPUNIT_ASSERT( NEG_INFINITY == ibex::previous_float(NEG_INFINITY)); }
void TestArith::float09() { CPPUNIT_ASSERT( POS_INFINITY == ibex::next_float(DBL_MAX)); }
void TestArith::float10() { CPPUNIT_ASSERT( NEG_INFINITY == ibex::previous_float(-DBL_MAX)); }

void TestArith::float10() {
const double CNEG_INF = NEG_INFINITY;
CPPUNIT_ASSERT( CNEG_INF == previous_float(-DBL_MAX));
}

void TestArith::minus01() { check(-Interval(0,1), Interval(-1,0)); }
void TestArith::minus02() { check(-Interval::ALL_REALS, Interval::ALL_REALS); }
Expand Down

0 comments on commit 4c1e75f

Please sign in to comment.