Om
symbol.cpp
Go to the documentation of this file.
1 
15 #ifndef Om_Language_Symbol_
16 
17  #include "om/language/symbol.hpp"
18 
19  #ifdef Om_Macro_Test_
20 
24 
25  #ifndef Om_Macro_Precompilation_
26 
27  #include "boost/test/unit_test.hpp"
28 
29  #endif
30 
31 namespace Om {
32 
33  namespace Language {
34 
35  BOOST_AUTO_TEST_SUITE(SymbolTest)
36 
37  BOOST_AUTO_TEST_CASE(StringizationTest) {
38  BOOST_CHECK_EQUAL(
39  "{test}` \t\n",
40  (
42  "test"
48  )
49  );
50  }
51 
52  BOOST_AUTO_TEST_SUITE_END()
53 
54  }
55 
56 }
57 
58  #endif
59 
60 #endif
The Om library.
Definition: code_point.hpp:26
Om header file.
#define Om_Language_Symbol_OperandSymbol_GetEndString_()
A string literal representation of Om::Language::Symbol::theEndOperandSymbol.
#define Om_Language_Symbol_OperandSymbol_GetStartString_()
A string literal representation of Om::Language::Symbol::theStartOperandSymbol.
Om header file.
#define Om_Language_Symbol_OperatorSymbol_GetEncodeString_()
A string literal representation of Om::Language::Symbol::theEncodeOperatorSymbol.
Om header file.
#define Om_Language_Symbol_SeparatorSymbol_GetSpaceString_()
A string literal representation of Om::Language::Symbol::theSpaceSeparatorSymbol.
#define Om_Language_Symbol_SeparatorSymbol_GetLineString_()
A string literal representation of Om::Language::Symbol::theLineSeparatorSymbol.
#define Om_Language_Symbol_SeparatorSymbol_GetTabString_()
A string literal representation of Om::Language::Symbol::theTabSeparatorSymbol.
Om header file.