diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-12-23 15:57:34 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-12-23 15:57:34 -0500 |
| commit | eb2308b8035302b76f794e83b9cf5c5f4cff7a4c (patch) | |
| tree | cbf651d5593b4d456c7b3880931787bdb0b153c0 /sigcore/test/TestFraction.cpp | |
| parent | 0c516ea53898f35b81ad095abb6638aa41c78d63 (diff) | |
| download | sigen-eb2308b8035302b76f794e83b9cf5c5f4cff7a4c.tar.gz sigen-eb2308b8035302b76f794e83b9cf5c5f4cff7a4c.tar.xz sigen-eb2308b8035302b76f794e83b9cf5c5f4cff7a4c.zip | |
Reverted to using headers for tests again
Diffstat (limited to 'sigcore/test/TestFraction.cpp')
| -rw-r--r-- | sigcore/test/TestFraction.cpp | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/sigcore/test/TestFraction.cpp b/sigcore/test/TestFraction.cpp index dd8e8b81..ec6fab37 100644 --- a/sigcore/test/TestFraction.cpp +++ b/sigcore/test/TestFraction.cpp @@ -15,38 +15,12 @@ * with this program. If not, see <http://www.gnu.org/licenses/>. */ -// Sigcore includes -#include "../Fraction.h" +// Header include +#include "TestFraction.h" // Qt includes #include <QtTest/QTest> -class TestFraction : public QObject -{ - Q_OBJECT - - private slots: - void set(); - void setNumerator(); - void setDenominator(); - - void reduce(); - - void assignment(); - void conversion(); - void addition(); - void subtraction(); - void multiplication(); - void division(); - void modulo(); - - void equal(); - void less(); - void greater(); - - void normalize(); -}; - void TestFraction::set() { Sigcore::Fraction frac(1, 1); |
