diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-08-22 05:34:50 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-08-22 05:34:50 +0000 |
commit | c10a3c3daf273536a7e78c4e6f200e35706cf96f (patch) | |
tree | 59a62c47c6cc108e36cab48627a9773bfcc3a3cd /src | |
parent | f427213832c0ccaca1d318c01f2c106bef4cefa1 (diff) | |
download | libgats-c10a3c3daf273536a7e78c4e6f200e35706cf96f.tar.gz libgats-c10a3c3daf273536a7e78c4e6f200e35706cf96f.tar.bz2 libgats-c10a3c3daf273536a7e78c4e6f200e35706cf96f.tar.xz libgats-c10a3c3daf273536a7e78c4e6f200e35706cf96f.zip |
Minor tweaks to tests.
Diffstat (limited to 'src')
-rw-r--r-- | src/unit/basic.unit | 2 | ||||
-rw-r--r-- | src/unit/io.unit | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/unit/basic.unit b/src/unit/basic.unit index d0309ee..c27b70c 100644 --- a/src/unit/basic.unit +++ b/src/unit/basic.unit | |||
@@ -133,7 +133,7 @@ suite Basic | |||
133 | unitTest( pObj != NULL ); | 133 | unitTest( pObj != NULL ); |
134 | unitTest( pObj->getType() == Gats::typeFloat ); | 134 | unitTest( pObj->getType() == Gats::typeFloat ); |
135 | Gats::Float *pFlt = dynamic_cast<Gats::Float *>(pObj); | 135 | Gats::Float *pFlt = dynamic_cast<Gats::Float *>(pObj); |
136 | sio << "old = " << M_PI << ", new = " << pFlt->getValue() << sio.nl; | 136 | // sio << "old = " << M_PI << ", new = " << pFlt->getValue() << sio.nl; |
137 | unitTest( pFlt->getValue() == M_PI ); | 137 | unitTest( pFlt->getValue() == M_PI ); |
138 | 138 | ||
139 | delete pObj; | 139 | delete pObj; |
diff --git a/src/unit/io.unit b/src/unit/io.unit index 3e9c82c..2cd8376 100644 --- a/src/unit/io.unit +++ b/src/unit/io.unit | |||
@@ -91,6 +91,7 @@ suite Basic | |||
91 | delete pObj2; | 91 | delete pObj2; |
92 | } | 92 | } |
93 | } | 93 | } |
94 | |||
94 | test biggerSpacers | 95 | test biggerSpacers |
95 | { | 96 | { |
96 | Bu::FString sTmpFileName("temp-XXXXXXXXX"); | 97 | Bu::FString sTmpFileName("temp-XXXXXXXXX"); |