aboutsummaryrefslogtreecommitdiff
path: root/test/common/rational.h
AgeCommit message (Collapse)Author
2010-05-17Use TS_ASSERT_EQUALS in test casesMax Horn
svn-id: r49065
2010-05-17Some tweaks and fixes for Common::RationalMax Horn
* Fix Common::gcd to work with negative input * This fixes a bug in Common::Rational's multiplication code * Add some more basic unit tests (including one which checks for the now fixed multiplication bug) * cleanup svn-id: r49064
2010-05-17Add tests for Common::Rational from patch #2963496 (VideoDecoder Rewrite), ↵Matthew Hoops
also courtesy of DrMcCoy who wrote the main Common::Rational class too svn-id: r49062