xmscore  1.0
daStreamIo.t.h
Go to the documentation of this file.
1 #pragma once
2 #ifdef CXX_TEST
3 //------------------------------------------------------------------------------
8 //------------------------------------------------------------------------------
9 
10 //----- Included files ---------------------------------------------------------
11 
12 // 3. Standard Library Headers
13 
14 // 4. External Library Headers
15 #include <cxxtest/TestSuite.h>
16 
17 // 5. Shared Headers
18 
19 // 6. Non-shared Headers
20 
21 //----- Namespace declaration --------------------------------------------------
22 
24 class DaStreamIoUnitTests : public CxxTest::TestSuite
25 {
26 public:
27  void testReadNamedLine();
28  void testReadWriteLine();
32  void testReadWriteIntLine();
33  void testReadIntFromLine();
38  void testReadWriteVecInt();
39  void testReadWriteVecDbl();
40  void testReadWriteVecPt3d();
41  void testLineBeginsWith();
42 };
43 
45 class DaReaderWriterIoUnitTests : public CxxTest::TestSuite
46 {
47 public:
48  void testReadNamedLine();
49  void testReadWriteLine();
53  void testReadWriteIntLine();
54  void testReadIntFromLine();
59  void testReadWriteVecInt();
60  void testReadWriteVecDbl();
61  void testReadWriteVecPt3d();
62  void testReadWriteBinaryVecInt();
63  void testReadWriteBinaryVecDbl();
64  void testReadWriteBinaryVecPt3d();
65  void testReadWriteLineParts();
66  void testReadWriteBinaryArrays();
67  void testLineBeginsWith();
68 };
69 
70 #endif
Tests for Stream IO utilities.
Definition: daStreamIo.t.h:45
void testReadWriteDoubleLine()
Test daWriteDoubleLine and daReadDoubleLine.
void testReadNamedLine()
Test daReadNamedLine.
void testReadWrite3StringLine()
Test daWrite3StringLine and daRead3StringLine.
void testReadWriteLine()
Test daWriteLine and daReadLine.
void testReadIntFromLine()
Test daReadIntFromLine.
void testReadWrite2StringLine()
Test daWrite2StringLine and daRead2StringLine.
void testReadWriteStringLine()
Test daWriteStringLine and daReadStringLine.
void testReadWriteVecDbl()
Test daWriteVecDbl and daReadVecDbl.
void testReadWriteIntLine()
Test daWriteIntLine and daReadIntLine.
void testReadDoubleFromLine()
Test daReadDoubleFromLine.
Tests for Stream IO utilities.
Definition: daStreamIo.t.h:24
void testReadWriteVecPt3d()
Test daWriteVecPt3d and daReadVecPt3d.
void testLineBeginsWith()
Test DaStreamReader::LineBeginsWith.
void testReadWrite3DoubleLine()
Test daWrite3DoubleLine and daRead3DoubleLine.
void testReadStringFromLine()
Test daReadStringFromLine.
void testReadWriteVecInt()
Test daWriteVecInt and daReadVecInt.