[Cppunit-devel] assertEquals with arguments of different type
Brought to you by:
blep
|
From: Baptiste L. <bl...@cl...> - 2001-06-10 14:37:53
|
Is there a reason why assertEquals could not take arguments of different
type (though compatible) ?
Earlier today, I was comparing an int with a size_t, and I had to cast
the size_t into an int. Quite bothersome when it could be done
automatically.
Baptiste.
---
Baptiste Lepilleur <gai...@fr...> http://gaiacrtn.free.fr/index.html
Author of The Text Reformatter, a tool for fanfiction readers and writers.
Language: English, French (Well, I'm French).
|