Unit Tests

- Fixed compile warning caused by an ambiguous decimal type.
This commit is contained in:
Owen Clarke 2012-03-05 19:57:14 +11:00
parent a95832ff3b
commit 8177b74a52

View file

@ -90,7 +90,7 @@ int main (int argc, char** argv)
// Task::get_ulong // Task::get_ulong
task.set ("two", "4294967295"); task.set ("two", "4294967295");
t.is (task.composeF4 (), "[name:\"value\" one:\"1\" two:\"4294967295\"]\n", "Task::set"); t.is (task.composeF4 (), "[name:\"value\" one:\"1\" two:\"4294967295\"]\n", "Task::set");
t.is ((size_t)task.get_ulong ("two"), (size_t)4294967295, "Task::get_ulong"); t.is ((size_t)task.get_ulong ("two"), (size_t)4294967295UL, "Task::get_ulong");
// Task::remove // Task::remove
task.remove ("one"); task.remove ("one");