ClassTest.cpp 624 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2020-08-16
  6. * Changed: 2020-10-29
  7. *
  8. * */
  9. #include <gtest/gtest.h>
  10. #include <ls_std/ls_std.hpp>
  11. namespace {
  12. class ClassTest : public ::testing::Test {
  13. protected:
  14. ClassTest() = default;
  15. ~ClassTest() override = default;
  16. void SetUp() override
  17. {}
  18. void TearDown() override
  19. {}
  20. };
  21. TEST_F(ClassTest, getClassName)
  22. {
  23. ls_std::Class object {"Class"};
  24. ASSERT_STREQ("Class", object.getClassName().c_str());
  25. }
  26. }