math lib: 3/2 should result in 1
This commit is contained in:
parent
1f53fb7149
commit
9a086c118f
|
@ -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"));
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue