diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2007-07-03 00:28:59 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2007-07-03 00:28:59 +0000 |
| commit | ac517a2b7625e0aa0862679e961c6349f859ea3b (patch) | |
| tree | e3e27a6b9bd5e2be6150088495c91fc91786ad9d /src/unit/fstring.cpp | |
| parent | f8d4301e9fa4f3709258505941e37fab2eadadc6 (diff) | |
| parent | bd865cee5f89116c1f054cd0e5c275e97c2d0a9b (diff) | |
| download | libbu++-ac517a2b7625e0aa0862679e961c6349f859ea3b.tar.gz libbu++-ac517a2b7625e0aa0862679e961c6349f859ea3b.tar.bz2 libbu++-ac517a2b7625e0aa0862679e961c6349f859ea3b.tar.xz libbu++-ac517a2b7625e0aa0862679e961c6349f859ea3b.zip | |
The reorg is being put in trunk, I think it's ready. Now we just get to find
out how many applications won't work anymore :)
Diffstat (limited to '')
| -rw-r--r-- | src/unit/fstring.cpp | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/unit/fstring.cpp b/src/unit/fstring.cpp new file mode 100644 index 0000000..72755eb --- /dev/null +++ b/src/unit/fstring.cpp | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | #include "fstring.h" | ||
| 2 | #include "unitsuite.h" | ||
| 3 | |||
| 4 | class Unit : public Bu::UnitSuite | ||
| 5 | { | ||
| 6 | public: | ||
| 7 | Unit() | ||
| 8 | { | ||
| 9 | setName("FString"); | ||
| 10 | addTest( Unit::test1 ); | ||
| 11 | } | ||
| 12 | |||
| 13 | virtual ~Unit() | ||
| 14 | { | ||
| 15 | } | ||
| 16 | |||
| 17 | void test1() | ||
| 18 | { | ||
| 19 | unitTest( 1 == 1 ); | ||
| 20 | unitTest( 1 == 0 ); | ||
| 21 | } | ||
| 22 | }; | ||
| 23 | |||
| 24 | int main( int argc, char *argv[] ) | ||
| 25 | { | ||
| 26 | return Unit().run( argc, argv ); | ||
| 27 | } | ||
| 28 | |||
