summaryrefslogtreecommitdiffstats
path: root/sigmod/test
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-02-09 17:40:47 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-02-09 17:40:47 -0500
commitf77bad54ce1acaabdd2c373c318ff0cf56e67e6a (patch)
tree18c57fe3c39800291e7f12764252669ed04bb28e /sigmod/test
parente7f18521dde8d00954834d704be36e8048152767 (diff)
downloadsigen-f77bad54ce1acaabdd2c373c318ff0cf56e67e6a.tar.gz
sigen-f77bad54ce1acaabdd2c373c318ff0cf56e67e6a.tar.xz
sigen-f77bad54ce1acaabdd2c373c318ff0cf56e67e6a.zip
Starting to fix Nature test
Diffstat (limited to 'sigmod/test')
-rw-r--r--sigmod/test/TestNature.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sigmod/test/TestNature.cpp b/sigmod/test/TestNature.cpp
index deff35ba..042e9b13 100644
--- a/sigmod/test/TestNature.cpp
+++ b/sigmod/test/TestNature.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 Ben Boeckel <MathStuf@gmail.com>
+ * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -126,7 +126,7 @@ void TestNature::setName()
void TestNature::setStat()
{
- m_nature2->setStat(Sigmod::ST_Attack, Sigcore::Fraction(1, 2));
+ m_nature2->setStat(Sigmod::ST_Attack, Sigcore::Fraction(-1, 2));
QCOMPARE(m_changedCount, 0);