EventTest.cpp 579 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2024-05-16
  6. * Changed: 2024-05-16
  7. *
  8. * */
  9. #include <gtest/gtest.h>
  10. #include <ls-std/ls-std-event.hpp>
  11. using ls::std::event::reworked::Event;
  12. using testing::Test;
  13. namespace
  14. {
  15. class EventTest : public Test
  16. {
  17. public:
  18. EventTest() = default;
  19. ~EventTest() override = default;
  20. };
  21. TEST_F(EventTest, getClassName)
  22. {
  23. ASSERT_STREQ("OnClickEvent", Event("OnClickEvent").getClassName().c_str());
  24. }
  25. }