I'm working on a project right now using this library (which is amazing btw! :tada:), and am trying to unit test some classes using Google Test. Right now it seems like to do any assertions I have to cast all units to doubles before passing them to the assertion, which is doable but irritating. Is this the recommended method? Or have others come up with something more clever?
My apologies if this is not the appropriate place for this, please feel free to close if so.
I'm working on a project right now using this library (which is amazing btw! :tada:), and am trying to unit test some classes using Google Test. Right now it seems like to do any assertions I have to cast all units to doubles before passing them to the assertion, which is doable but irritating. Is this the recommended method? Or have others come up with something more clever?
My apologies if this is not the appropriate place for this, please feel free to close if so.
Thanks!