Date: Saturday, January 21, 2006 @ 00:11:32
Author: marc
Path: /cvsroot/carob/carob/test/40-Parameter-PreparedStatement
Modified: TestIEEE754.cpp (1.1 -> 1.2)
Added missing row++
-----------------+
TestIEEE754.cpp | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
Index: carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp
diff -u carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp:1.1
carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp:1.2
--- carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp:1.1 Fri Jan
20 23:44:50 2006
+++ carob/test/40-Parameter-PreparedStatement/TestIEEE754.cpp Sat Jan 21
00:11:32 2006
@@ -97,6 +97,7 @@
CPPUNIT_ASSERT(drsPtr->getAsInt(1) == row);
CPPUNIT_ASSERT(drsPtr->getFloat(2) == data[row].f);
CPPUNIT_ASSERT(drsPtr->getDouble(3) == data[row].d);
+ row++;
}
}
@@ -113,9 +114,9 @@
{ -1, -1 },
{ -5e30, 1e-200 },
{ Floats::round_error(), Doubles::round_error() },
- { Floats::epsilon(), -Doubles::epsilon() },
- { -Floats::min(), Doubles::min() },
- { Floats::max(), -Doubles::max() },
+ { Floats::epsilon(), -Doubles::epsilon() },
+ { -Floats::min()*2, Doubles::min()*2 },
+ { Floats::max()/2, -Doubles::max()/2 },
{ 0, 0 } // END OF DATA
};
@@ -131,6 +132,8 @@
// TODO
// { Floats::denorm_min(), Doubles::denorm_min() },
+// { -Floats::min(), Doubles::min() },
+// { Floats::max(), -Doubles::max() },
_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits