Main Lemma Repository
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

GetNameCheck.h 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. /* This file is part of Lemma, a geophysical modelling and inversion API.
  2. * More information is available at http://lemmasoftware.org
  3. */
  4. /* This Source Code Form is subject to the terms of the Mozilla Public
  5. * License, v. 2.0. If a copy of the MPL was not distributed with this
  6. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  7. */
  8. /**
  9. * @file
  10. * @date 06/23/2016 01:26:46 PM
  11. * @version $Id$
  12. * @author Trevor Irons (ti)
  13. * @email tirons@egi.utah.edu
  14. * @copyright Copyright (c) 2016, University of Utah
  15. * @copyright Copyright (c) 2016, Lemma Software, LLC
  16. */
  17. #include <cxxtest/TestSuite.h>
  18. #include <LemmaCore>
  19. #include <FDEM1D>
  20. using namespace Lemma;
  21. class MyTestSuite : public CxxTest::TestSuite
  22. {
  23. public:
  24. void testLayeredEarthEM( void )
  25. {
  26. auto Obj = LayeredEarthEM::NewSP();
  27. TS_ASSERT_EQUALS( Obj->GetName(), std::string("LayeredEarthEM") );
  28. }
  29. void testLayeredEarthEMReader( void )
  30. {
  31. auto Obj = LayeredEarthEMReader::NewSP();
  32. TS_ASSERT_EQUALS( Obj->GetName(), std::string("LayeredEarthEMReader") );
  33. }
  34. void testFieldPoints( void )
  35. {
  36. auto Obj = FieldPoints::NewSP();
  37. TS_ASSERT_EQUALS( Obj->GetName(), std::string("FieldPoints") );
  38. }
  39. void testWireAntenna( void )
  40. {
  41. auto Obj = WireAntenna::NewSP();
  42. TS_ASSERT_EQUALS( Obj->GetName(), std::string("WireAntenna") );
  43. }
  44. void testCircularLoop( void )
  45. {
  46. auto Obj = CircularLoop::NewSP();
  47. TS_ASSERT_EQUALS( Obj->GetName(), std::string("CircularLoop") );
  48. }
  49. void testPolygonalWireAntenna( void )
  50. {
  51. auto Obj = PolygonalWireAntenna::NewSP();
  52. TS_ASSERT_EQUALS( Obj->GetName(), std::string("PolygonalWireAntenna") );
  53. }
  54. void testDipoleSource( void )
  55. {
  56. auto Obj = DipoleSource::NewSP();
  57. TS_ASSERT_EQUALS( Obj->GetName(), std::string("DipoleSource") );
  58. }
  59. void testEMEarth1D( void )
  60. {
  61. auto Obj = EMEarth1D::NewSP();
  62. TS_ASSERT_EQUALS( Obj->GetName(), std::string("EMEarth1D") );
  63. }
  64. void testAEMSurvey( void )
  65. {
  66. auto Obj = AEMSurvey::NewSP();
  67. TS_ASSERT_EQUALS( Obj->GetName(), std::string("AEMSurvey") );
  68. }
  69. void testAEMSurveyReader( void )
  70. {
  71. auto Obj = AEMSurveyReader::NewSP();
  72. TS_ASSERT_EQUALS( Obj->GetName(), std::string("AEMSurveyReader") );
  73. }
  74. void testChargedWellCasing( void )
  75. {
  76. auto Obj = ChargedWellCasing::NewSP();
  77. TS_ASSERT_EQUALS( Obj->GetName(), std::string("ChargedWellCasing") );
  78. }
  79. // void testKernelEM1DManager( void )
  80. // {
  81. // auto Obj = KernelEM1DManager::NewSP();
  82. // TS_ASSERT_EQUALS( Obj->GetName(), std::string("KernelEM1DManager") );
  83. // }
  84. //
  85. // void testKernelEM1DSpec( void )
  86. // {
  87. // auto Obj = KernelEM1DSpec::NewSP();
  88. // TS_ASSERT_EQUALS( Obj->GetName(), std::string("KernelEM1DSpec") );
  89. // }
  90. //
  91. // void testKernelEM1DReflSpec( void )
  92. // {
  93. // auto Obj = KernelEM1DReflSpec::NewSP();
  94. // TS_ASSERT_EQUALS( Obj->GetName(), std::string("KernelEM1DReflSpec") );
  95. // }
  96. };