From eb2308b8035302b76f794e83b9cf5c5f4cff7a4c Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 23 Dec 2008 15:57:34 -0500 Subject: Reverted to using headers for tests again --- sigcore/test/TestFraction.cpp | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) (limited to 'sigcore/test/TestFraction.cpp') 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 . */ -// Sigcore includes -#include "../Fraction.h" +// Header include +#include "TestFraction.h" // Qt includes #include -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); -- cgit