StandardOutputWriterTest.cpp 724 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /*
  2. * Author: Patrick-Christopher Mattulat
  3. * Company: Lynar Studios
  4. * E-Mail: webmaster@lynarstudios.com
  5. * Created: 2021-09-18
  6. * Changed: 2023-02-23
  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. protected:
  18. StandardOutputWriterTest() = default;
  19. ~StandardOutputWriterTest() override = default;
  20. void SetUp() override
  21. {}
  22. void TearDown() override
  23. {}
  24. };
  25. TEST_F(StandardOutputWriterTest, write)
  26. {
  27. StandardOutputWriter writer{};
  28. ASSERT_TRUE(writer.write("Try something!"));
  29. }
  30. }