Lemma is an Electromagnetics API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 testFieldPoints( void )
  30. {
  31. auto Obj = FieldPoints::NewSP();
  32. TS_ASSERT_EQUALS( Obj->GetName(), std::string("FieldPoints") );
  33. }
  34. void testDipoleSource( void )
  35. {
  36. auto Obj = DipoleSource::NewSP();
  37. TS_ASSERT_EQUALS( Obj->GetName(), std::string("DipoleSource") );
  38. }
  39. void testWireAntenna( void )
  40. {
  41. auto Obj = WireAntenna::NewSP();
  42. TS_ASSERT_EQUALS( Obj->GetName(), std::string("WireAntenna") );
  43. }
  44. // void testKernelEM1DManager( void )
  45. // {
  46. // auto Obj = KernelEM1DManager::NewSP();
  47. // TS_ASSERT_EQUALS( Obj->GetName(), std::string("KernelEM1DManager") );
  48. // }
  49. //
  50. // void testKernelEM1DSpec( void )
  51. // {
  52. // auto Obj = KernelEM1DSpec::NewSP();
  53. // TS_ASSERT_EQUALS( Obj->GetName(), std::string("KernelEM1DSpec") );
  54. // }
  55. //
  56. // void testKernelEM1DReflSpec( void )
  57. // {
  58. // auto Obj = KernelEM1DReflSpec::NewSP();
  59. // TS_ASSERT_EQUALS( Obj->GetName(), std::string("KernelEM1DReflSpec") );
  60. // }
  61. };