Lemma is an Electromagnetics API
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

GetNameCheck.h 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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 testPolygonalWireAntenna( void )
  45. {
  46. auto Obj = PolygonalWireAntenna::NewSP();
  47. TS_ASSERT_EQUALS( Obj->GetName(), std::string("PolygonalWireAntenna") );
  48. }
  49. void testDipoleSource( void )
  50. {
  51. auto Obj = DipoleSource::NewSP();
  52. TS_ASSERT_EQUALS( Obj->GetName(), std::string("DipoleSource") );
  53. }
  54. void testEMEarth1D( void )
  55. {
  56. auto Obj = EMEarth1D::NewSP();
  57. TS_ASSERT_EQUALS( Obj->GetName(), std::string("EMEarth1D") );
  58. }
  59. void testAEMSurvey( void )
  60. {
  61. auto Obj = AEMSurvey::NewSP();
  62. TS_ASSERT_EQUALS( Obj->GetName(), std::string("AEMSurvey") );
  63. }
  64. void testAEMSurveyReader( void )
  65. {
  66. auto Obj = AEMSurveyReader::NewSP();
  67. TS_ASSERT_EQUALS( Obj->GetName(), std::string("AEMSurveyReader") );
  68. }
  69. // void testKernelEM1DManager( void )
  70. // {
  71. // auto Obj = KernelEM1DManager::NewSP();
  72. // TS_ASSERT_EQUALS( Obj->GetName(), std::string("KernelEM1DManager") );
  73. // }
  74. //
  75. // void testKernelEM1DSpec( void )
  76. // {
  77. // auto Obj = KernelEM1DSpec::NewSP();
  78. // TS_ASSERT_EQUALS( Obj->GetName(), std::string("KernelEM1DSpec") );
  79. // }
  80. //
  81. // void testKernelEM1DReflSpec( void )
  82. // {
  83. // auto Obj = KernelEM1DReflSpec::NewSP();
  84. // TS_ASSERT_EQUALS( Obj->GetName(), std::string("KernelEM1DReflSpec") );
  85. // }
  86. };