123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- /* This file is part of Lemma, a geophysical modelling and inversion API.
- * More information is available at http://lemmasoftware.org
- */
-
- /* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/.
- */
-
- /**
- * @file
- * @date 06/23/2016 01:26:46 PM
- * @version $Id$
- * @author Trevor Irons (ti)
- * @email tirons@egi.utah.edu
- * @copyright Copyright (c) 2016, University of Utah
- * @copyright Copyright (c) 2016, Lemma Software, LLC
- */
-
- #include <cxxtest/TestSuite.h>
- #include <LemmaCore>
- #include <FDEM1D>
-
- using namespace Lemma;
-
- class MyTestSuite : public CxxTest::TestSuite
- {
- public:
-
- void testLayeredEarthEM( void )
- {
- auto Obj = LayeredEarthEM::NewSP();
- TS_ASSERT_EQUALS( Obj->GetName(), std::string("LayeredEarthEM") );
- }
-
- void testLayeredEarthEMReader( void )
- {
- auto Obj = LayeredEarthEMReader::NewSP();
- TS_ASSERT_EQUALS( Obj->GetName(), std::string("LayeredEarthEMReader") );
- }
-
- void testFieldPoints( void )
- {
- auto Obj = FieldPoints::NewSP();
- TS_ASSERT_EQUALS( Obj->GetName(), std::string("FieldPoints") );
- }
-
- void testWireAntenna( void )
- {
- auto Obj = WireAntenna::NewSP();
- TS_ASSERT_EQUALS( Obj->GetName(), std::string("WireAntenna") );
- }
-
- void testCircularLoop( void )
- {
- auto Obj = CircularLoop::NewSP();
- TS_ASSERT_EQUALS( Obj->GetName(), std::string("CircularLoop") );
- }
-
- void testPolygonalWireAntenna( void )
- {
- auto Obj = PolygonalWireAntenna::NewSP();
- TS_ASSERT_EQUALS( Obj->GetName(), std::string("PolygonalWireAntenna") );
- }
-
- void testDipoleSource( void )
- {
- auto Obj = DipoleSource::NewSP();
- TS_ASSERT_EQUALS( Obj->GetName(), std::string("DipoleSource") );
- }
-
- void testEMEarth1D( void )
- {
- auto Obj = EMEarth1D::NewSP();
- TS_ASSERT_EQUALS( Obj->GetName(), std::string("EMEarth1D") );
- }
-
- void testAEMSurvey( void )
- {
- auto Obj = AEMSurvey::NewSP();
- TS_ASSERT_EQUALS( Obj->GetName(), std::string("AEMSurvey") );
- }
-
- void testAEMSurveyReader( void )
- {
- auto Obj = AEMSurveyReader::NewSP();
- TS_ASSERT_EQUALS( Obj->GetName(), std::string("AEMSurveyReader") );
- }
-
- // void testKernelEM1DManager( void )
- // {
- // auto Obj = KernelEM1DManager::NewSP();
- // TS_ASSERT_EQUALS( Obj->GetName(), std::string("KernelEM1DManager") );
- // }
- //
- // void testKernelEM1DSpec( void )
- // {
- // auto Obj = KernelEM1DSpec::NewSP();
- // TS_ASSERT_EQUALS( Obj->GetName(), std::string("KernelEM1DSpec") );
- // }
- //
- // void testKernelEM1DReflSpec( void )
- // {
- // auto Obj = KernelEM1DReflSpec::NewSP();
- // TS_ASSERT_EQUALS( Obj->GetName(), std::string("KernelEM1DReflSpec") );
- // }
-
- };
|