D | induction_var_range_test.cc | 297 Value AddValue(Value v1, Value v2) { return range_.AddValue(v1, v2); } in AddValue() function in art::InductionVarRangeTest 607 TEST_F(InductionVarRangeTest, AddValue) { in TEST_F() argument 608 ExpectEqual(Value(110), AddValue(Value(10), Value(100))); in TEST_F() 609 ExpectEqual(Value(-5), AddValue(Value(x_, 1, -4), Value(x_, -1, -1))); in TEST_F() 610 ExpectEqual(Value(x_, 3, -5), AddValue(Value(x_, 2, -4), Value(x_, 1, -1))); in TEST_F() 611 ExpectEqual(Value(), AddValue(Value(x_, 1, 5), Value(y_, 1, -7))); in TEST_F() 612 ExpectEqual(Value(x_, 1, 23), AddValue(Value(x_, 1, 20), Value(3))); in TEST_F() 613 ExpectEqual(Value(y_, 1, 5), AddValue(Value(55), Value(y_, 1, -50))); in TEST_F() 615 ExpectEqual(Value(max_value), AddValue(Value(max_value - 5), Value(5))); in TEST_F() 616 ExpectEqual(Value(), AddValue(Value(max_value - 5), Value(6))); // unsafe in TEST_F()
|