D | induction_var_range_test.cc | 298 Value SubValue(Value v1, Value v2) { return range_.SubValue(v1, v2); } in SubValue() function in art::InductionVarRangeTest 619 TEST_F(InductionVarRangeTest, SubValue) { in TEST_F() argument 620 ExpectEqual(Value(-90), SubValue(Value(10), Value(100))); in TEST_F() 621 ExpectEqual(Value(-3), SubValue(Value(x_, 1, -4), Value(x_, 1, -1))); in TEST_F() 622 ExpectEqual(Value(x_, 2, -3), SubValue(Value(x_, 3, -4), Value(x_, 1, -1))); in TEST_F() 623 ExpectEqual(Value(), SubValue(Value(x_, 1, 5), Value(y_, 1, -7))); in TEST_F() 624 ExpectEqual(Value(x_, 1, 17), SubValue(Value(x_, 1, 20), Value(3))); in TEST_F() 625 ExpectEqual(Value(y_, -4, 105), SubValue(Value(55), Value(y_, 4, -50))); in TEST_F() 627 ExpectEqual(Value(min_value), SubValue(Value(min_value + 5), Value(5))); in TEST_F() 628 ExpectEqual(Value(), SubValue(Value(min_value + 5), Value(6))); // unsafe in TEST_F()
|