1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
-
-
-
-
-
-
- #include <cxxtest/TestSuite.h>
- #include <TEM1D>
-
- using namespace Lemma;
-
- class MyTestSuite : public CxxTest::TestSuite
- {
- public:
-
-
-
-
-
-
-
-
-
-
-
- void testTEMTransmitter( void )
- {
- auto Obj = TEMTransmitter::NewSP();
- YAML::Node node = Obj->Serialize();
- auto Obj2 = TEMTransmitter::DeSerialize(node);
- TS_ASSERT_EQUALS( Obj->GetName(), Obj2->GetName() );
- }
-
- void testTEMReceiver( void )
- {
- auto Obj = TEMReceiver::NewSP();
- YAML::Node node = Obj->Serialize();
- auto Obj2 = TEMReceiver::DeSerialize(node);
- TS_ASSERT_EQUALS( Obj->GetName(), Obj2->GetName() );
- }
-
-
- };
|