Lynn Allan - 2002-04-21

Test RatNum class with CppUnit (for newbies)

As part of getting up to speed with CppUnit, I went back and incorporated CppUnit testing with a class for Rational Numbers, RatNum.

I thought this might be helpful for others learning CppUnit, so I've made it available.  I've packaged it as a Visual C++ 6.0 project, including .dsw, .dsp, .mak, .exe, RatNum.cpp, RatNum.h, and RatNumTest.cpp.  (source code should be portable ... but the RatNum.mak is for visual c++ 6.0)

The project settings for include's, dll's, and lib's are preset.  It is assumed to be loaded at:
<cppunit_home>\examples\RatNumNewbie

It can be directly downloaded from:
http://prdownloads.sourceforge.net/inverse/RatNumNewbie.zip
or:
http://home.att.net/~bibleinverse/Misc/RatNumNewbie.zip

Enjoy!