Skip to content

Commit

Permalink
Temporary modification of TestArith::float10
Browse files Browse the repository at this point in the history
  • Loading branch information
Gilles Chabert committed Mar 16, 2017
1 parent 6933e56 commit 092074c
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 092074c

Please sign in to comment.