summaryrefslogtreecommitdiffstats
path: root/sigcore/test/TestHat.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-12-23 15:57:34 -0500
committerBen Boeckel <MathStuf@gmail.com>2008-12-23 15:57:34 -0500
commiteb2308b8035302b76f794e83b9cf5c5f4cff7a4c (patch)
treecbf651d5593b4d456c7b3880931787bdb0b153c0 /sigcore/test/TestHat.cpp
parent0c516ea53898f35b81ad095abb6638aa41c78d63 (diff)
downloadsigen-eb2308b8035302b76f794e83b9cf5c5f4cff7a4c.tar.gz
sigen-eb2308b8035302b76f794e83b9cf5c5f4cff7a4c.tar.xz
sigen-eb2308b8035302b76f794e83b9cf5c5f4cff7a4c.zip
Reverted to using headers for tests again
Diffstat (limited to 'sigcore/test/TestHat.cpp')
-rw-r--r--sigcore/test/TestHat.cpp18
1 files changed, 2 insertions, 16 deletions
diff --git a/sigcore/test/TestHat.cpp b/sigcore/test/TestHat.cpp
index 78d39f25..215744a7 100644
--- a/sigcore/test/TestHat.cpp
+++ b/sigcore/test/TestHat.cpp
@@ -15,26 +15,12 @@
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-// Sigcore includes
-#include "../Hat.h"
+// Header include
+#include "TestHat.h"
// Qt includes
#include <QtTest/QTest>
-class TestHat : public QObject
-{
- Q_OBJECT
-
- private slots:
- void initTestCase();
- void pick();
- void take();
- void takeAndClear();
- void setCount();
- void add();
- void chance();
-};
-
void TestHat::initTestCase()
{
qsrand(QDateTime::currentDateTime().toTime_t());