Lines Matching refs:temp
13 const char * temp = keyword(999); in test_keywordIncorrectToken() local
15 TEST_ASSERT_EQUAL_STRING("(keyword #999 not found)",temp); in test_keywordIncorrectToken()
21 const char * temp = keyword(T_Server); in test_keywordServerToken() local
23 TEST_ASSERT_EQUAL_STRING("server",temp); in test_keywordServerToken()
54 int temp = lex_pop_file(); in test_PopEmptyStack() local
56 TEST_ASSERT_FALSE(temp); in test_PopEmptyStack()
62 int temp = is_integer("123"); in test_IsInteger() local
63 TEST_ASSERT_TRUE(temp); in test_IsInteger()
64 temp = is_integer("-999"); in test_IsInteger()
65 TEST_ASSERT_TRUE(temp); in test_IsInteger()
66 temp = is_integer("0"); //what about -0? in test_IsInteger()
67 TEST_ASSERT_TRUE(temp); in test_IsInteger()
68 temp = is_integer("16.5"); in test_IsInteger()
69 TEST_ASSERT_FALSE(temp); in test_IsInteger()
70 temp = is_integer("12ab"); in test_IsInteger()
71 TEST_ASSERT_FALSE(temp); in test_IsInteger()
72 temp = is_integer("2147483647"); in test_IsInteger()
73 TEST_ASSERT_TRUE(temp); in test_IsInteger()
74 temp = is_integer("2347483647"); //too big for signed int in test_IsInteger()
75 TEST_ASSERT_FALSE(temp); in test_IsInteger()
81 int temp; in test_IsUint() local
82 temp = is_u_int("-123"); in test_IsUint()
83 TEST_ASSERT_FALSE(temp); in test_IsUint()
84 temp = is_u_int("0"); in test_IsUint()
85 TEST_ASSERT_TRUE(temp); //-0 fails btw in test_IsUint()
86 temp = is_u_int("2347483647"); //fits into u_int in test_IsUint()
87 TEST_ASSERT_TRUE(temp); in test_IsUint()
88 temp = is_u_int("112347483647"); //too big even for uint in test_IsUint()
89 TEST_ASSERT_TRUE(temp); in test_IsUint()
95 int temp; in test_IsDouble() local
96 temp = is_double("0"); in test_IsDouble()
97 TEST_ASSERT_TRUE(temp); in test_IsDouble()
98 temp = is_double("123"); in test_IsDouble()
99 TEST_ASSERT_TRUE(temp); in test_IsDouble()
100 temp = is_double("123.45"); //DOESN'T WORK WITH 123,45, not sure if intented? in test_IsDouble()
101 TEST_ASSERT_TRUE(temp); in test_IsDouble()
102 temp = is_double("-123.45"); //DOESN'T WORK WITH 123,45, not sure if intented? in test_IsDouble()
103 TEST_ASSERT_TRUE(temp); in test_IsDouble()
109 int temp ; in test_SpecialSymbols() local
110 temp = is_special('a'); in test_SpecialSymbols()
111 TEST_ASSERT_FALSE(temp); in test_SpecialSymbols()
112 temp = is_special('?'); in test_SpecialSymbols()
113 TEST_ASSERT_FALSE(temp); in test_SpecialSymbols()
120 int temp; in test_EOC() local
122 temp = is_EOC('\n'); in test_EOC()
123 TEST_ASSERT_TRUE(temp); in test_EOC()
126 temp = is_EOC(';'); in test_EOC()
127 TEST_ASSERT_TRUE(temp); in test_EOC()
129 temp = is_EOC('A'); in test_EOC()
130 TEST_ASSERT_FALSE(temp); in test_EOC()
131 temp = is_EOC('1'); in test_EOC()
132 TEST_ASSERT_FALSE(temp); in test_EOC()