StandardOutputWriterTest.cpp 719 B

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