summaryrefslogtreecommitdiff
path: root/src/StreamType_test.cc
blob: 291d77f9c6f3f59255efc1c63474e538bf7dde40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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));
    }
};