Main Lemma Repository
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 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. };