Main Lemma Repository
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

GetNameCheck.h 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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 10/16/2018 12:46:43 PM
  11. * @version $Id$
  12. * @author Trevor Irons (ti)
  13. * @email Trevor.Irons@utah.edu
  14. * @copyright Copyright (c) 2018, University of Utah
  15. * @copyright Copyright (c) 2018, Lemma Software, LLC
  16. */
  17. #include <cxxtest/TestSuite.h>
  18. #include <TEM1D>
  19. using namespace Lemma;
  20. class MyTestSuite : public CxxTest::TestSuite
  21. {
  22. public:
  23. void testTEMTransmitter( void )
  24. {
  25. auto Obj = TEMTransmitter::NewSP();
  26. TS_ASSERT_EQUALS( Obj->GetName(), std::string("TEMTransmitter") );
  27. }
  28. void testTEMReceiver( void )
  29. {
  30. auto Obj = TEMReceiver::NewSP();
  31. TS_ASSERT_EQUALS( Obj->GetName(), std::string("TEMReceiver") );
  32. }
  33. };