diff options
Diffstat (limited to 'src/StreamType_test.cc')
-rw-r--r-- | src/StreamType_test.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/StreamType_test.cc b/src/StreamType_test.cc new file mode 100644 index 0000000..291d77f --- /dev/null +++ b/src/StreamType_test.cc @@ -0,0 +1,15 @@ +#include <cxxtest/TestSuite.h> + +#include "StreamType.h" + +class A_StreamType : public CxxTest::TestSuite +{ +public: + void Should_have_a_string_representation() + { + TS_ASSERT_EQUALS(std::string("i18n:Low"), StreamTypeToString(Low)); + TS_ASSERT_EQUALS(std::string("i18n:Medium"), StreamTypeToString(Medium)); + TS_ASSERT_EQUALS(std::string("i18n:High"), StreamTypeToString(High)); + } +}; + |