Commit 8746e51b authored by Mathieu Giraud's avatar Mathieu Giraud

tests: update tests, AFFECT_{UNKNOWN|AMBIGUOUS}_SYMBOL

parent 3ad39721
......@@ -39,8 +39,8 @@ void testAffect() {
TAP_TEST(toString(Vminus) == "-V", TEST_AFFECT_TO_STRING, toString(Vminus));
TAP_TEST(toString(Vplus) == "+V", TEST_AFFECT_TO_STRING, toString(Vplus));
TAP_TEST(toString(Jplus) == "+J", TEST_AFFECT_TO_STRING, toString(Jplus));
TAP_TEST(toString(AFFECT_UNKNOWN.affect) == " _", TEST_AFFECT_TO_STRING, "");
TAP_TEST(toString(AFFECT_AMBIGUOUS.affect) == " ?", TEST_AFFECT_TO_STRING, "");
TAP_TEST(toString(AFFECT_UNKNOWN.affect) == " "AFFECT_UNKNOWN_SYMBOL, TEST_AFFECT_TO_STRING, "");
TAP_TEST(toString(AFFECT_AMBIGUOUS.affect) == " "AFFECT_AMBIGUOUS_SYMBOL, TEST_AFFECT_TO_STRING, "");
ostringstream oss;
oss << Vminus;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment