• Home
  • Raw
  • Download

Lines Matching refs:LHS

42 bool test(RunContext *Ctx, TestCondition Cond, ValType LHS, ValType RHS,
85 bool test(TestCondition Cond, ValType LHS, ValType RHS, const char *LHSStr, in test() argument
87 return internal::test(Ctx, Cond, LHS, RHS, LHSStr, RHSStr, File, Line); in test()
93 bool test(TestCondition Cond, ValType LHS, ValType RHS, const char *LHSStr, in test() argument
95 return internal::test(Ctx, Cond, (unsigned long long)LHS, in test()
99 bool testStrEq(const char *LHS, const char *RHS, const char *LHSStr,
102 bool testStrNe(const char *LHS, const char *RHS, const char *LHSStr,
157 #define EXPECT_EQ(LHS, RHS) \ argument
158 this->test(__llvm_libc::testing::Cond_EQ, (LHS), (RHS), #LHS, #RHS, \
160 #define ASSERT_EQ(LHS, RHS) \ argument
161 if (!EXPECT_EQ(LHS, RHS)) \
164 #define EXPECT_NE(LHS, RHS) \ argument
165 this->test(__llvm_libc::testing::Cond_NE, (LHS), (RHS), #LHS, #RHS, \
167 #define ASSERT_NE(LHS, RHS) \ argument
168 if (!EXPECT_NE(LHS, RHS)) \
171 #define EXPECT_LT(LHS, RHS) \ argument
172 this->test(__llvm_libc::testing::Cond_LT, (LHS), (RHS), #LHS, #RHS, \
174 #define ASSERT_LT(LHS, RHS) \ argument
175 if (!EXPECT_LT(LHS, RHS)) \
178 #define EXPECT_LE(LHS, RHS) \ argument
179 this->test(__llvm_libc::testing::Cond_LE, (LHS), (RHS), #LHS, #RHS, \
181 #define ASSERT_LE(LHS, RHS) \ argument
182 if (!EXPECT_LE(LHS, RHS)) \
185 #define EXPECT_GT(LHS, RHS) \ argument
186 this->test(__llvm_libc::testing::Cond_GT, (LHS), (RHS), #LHS, #RHS, \
188 #define ASSERT_GT(LHS, RHS) \ argument
189 if (!EXPECT_GT(LHS, RHS)) \
192 #define EXPECT_GE(LHS, RHS) \ argument
193 this->test(__llvm_libc::testing::Cond_GE, (LHS), (RHS), #LHS, #RHS, \
195 #define ASSERT_GE(LHS, RHS) \ argument
196 if (!EXPECT_GE(LHS, RHS)) \
199 #define EXPECT_STREQ(LHS, RHS) \ argument
200 this->testStrEq((LHS), (RHS), #LHS, #RHS, __FILE__, __LINE__)
201 #define ASSERT_STREQ(LHS, RHS) \ argument
202 if (!EXPECT_STREQ(LHS, RHS)) \
205 #define EXPECT_STRNE(LHS, RHS) \ argument
206 this->testStrNe((LHS), (RHS), #LHS, #RHS, __FILE__, __LINE__)
207 #define ASSERT_STRNE(LHS, RHS) \ argument
208 if (!EXPECT_STRNE(LHS, RHS)) \