[ntp-GSoC] Questions about testing

Damir Tomic viperus.oblivion at gmail.com
Wed Jun 10 09:30:46 UTC 2015

Another thing I noticed:

In gtest, there is a function ASSERT_LE (less or equal). There is no
equivalent function in Unity.
Closest one is  TEST_ASSERT_DOUBLE_WITHIN(delta, fabs(op1-op3), eps(op2)) .
You can't specify LE or GE, but a certain range aka delta, which doesn't
help us in replicating gtest functionality.

Should I implement LE, GE, UGE, ULE (unsigned less or equal), and similar
functions in unity or?

Best regards, Damir Tomć

More information about the GSoC mailing list