diff -r d26a4018a9ef src/simulator/time.cc --- a/src/simulator/time.cc Thu Dec 18 22:33:33 2008 -0800 +++ b/src/simulator/time.cc Mon Dec 22 19:47:16 2008 +0000 @@ -500,6 +500,11 @@ NS_TEST_ASSERT (tooBig.IsPositive ()); tooBig += TimeStep (1); NS_TEST_ASSERT (tooBig.IsNegative ()); + + Scalar v3 = Scalar (0.1) / Scalar (1.25); + double targetValue = (0.1 / 1.25); + NS_TEST_ASSERT (v3.GetDouble () >= targetValue*.99); + NS_TEST_ASSERT (v3.GetDouble () <= targetValue*1.01); return result; }