math lib: 3/2 should result in 1

This commit is contained in:
Daniel Marjamäki 2009-04-12 18:45:42 +02:00
parent 1f53fb7149
commit 9a086c118f
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ private:
ASSERT_EQUALS(std::string("256"), MathLib::add("0xff", "1"));
ASSERT_EQUALS(std::string("0.003"), MathLib::multiply("1e-3", "3"));
ASSERT_EQUALS(std::string("5"), MathLib::divide("25.5", "5.1"));
TODO_ASSERT_EQUALS(std::string("1"), MathLib::divide("3", "2"));
}
};