StandardOutputWriterTest.cpp 642 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2021-09-18
  6. * Changed: 2023-03-25
  7. *
  8. * */
  9. #include <gtest/gtest.h>
  10. #include <ls-std/ls-std-io.hpp>
  11. using ls::std::io::StandardOutputWriter;
  12. using testing::Test;
  13. namespace
  14. {
  15. class StandardOutputWriterTest : public Test
  16. {
  17. public:
  18. StandardOutputWriterTest() = default;
  19. ~StandardOutputWriterTest() override = default;
  20. };
  21. TEST_F(StandardOutputWriterTest, write)
  22. {
  23. StandardOutputWriter writer{};
  24. ASSERT_TRUE(writer.write("Try something!"));
  25. }
  26. }