LibraryVersionTest.cpp 687 B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2021-05-02
  6. * Changed: 2023-02-22
  7. *
  8. * */
  9. #include <gtest/gtest.h>
  10. #include <ls-std/ls-std-core.hpp>
  11. using ls::std::core::LibraryVersion;
  12. using testing::Test;
  13. namespace
  14. {
  15. class LibraryVersionTest : public Test
  16. {
  17. protected:
  18. LibraryVersionTest() = default;
  19. ~LibraryVersionTest() override = default;
  20. void SetUp() override
  21. {}
  22. void TearDown() override
  23. {}
  24. };
  25. TEST_F(LibraryVersionTest, getVersion)
  26. {
  27. ASSERT_STREQ("2023.1.0", LibraryVersion::getVersion().c_str());
  28. }
  29. }