Home
last modified time | relevance | path

Searched refs:check_eq (Results 1 – 3 of 3) sorted by relevance

/external/crcalc/tests/src/com/hp/creals/
DCRTest.java57 private static void check_eq(CR x, CR y, String s) { in check_eq() method in CRTest
77 check_eq(one.shiftLeft(1),two, "shiftLeft failed"); in testCR()
78 check_eq(two.shiftRight(1),one, "shiftRight failed"); in testCR()
79 check_eq(one.add(one),two, "add failed 1"); in testCR()
80 check_eq(one.max(two),two, "max failed"); in testCR()
81 check_eq(one.min(two),one, "min failed"); in testCR()
82 check_eq(one.abs(),one, "abs failed 1"); in testCR()
83 check_eq(one.negate().abs(),one, "abs failed 2"); in testCR()
86 check_eq(CR.valueOf(4), four, "2 + 2 failed"); in testCR()
87 check_eq(CR.valueOf(3), three, "2 + 1 failed"); in testCR()
[all …]
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs54 macro_rules! check_eq { macro
66 assert!(check_eq!(1, 1).is_ok()); in macro_check_eq()
67 assert!(check_eq!(1, 2).is_err()); in macro_check_eq()
160 check_eq!(correct, true)?; in serialized_example_is_accessible_and_correct()
169 check_eq!(m.hp(), 80)?; in serialized_example_is_accessible_and_correct()
170 check_eq!(m.mana(), 150)?; in serialized_example_is_accessible_and_correct()
171 check_eq!(m.name(), "MyMonster")?; in serialized_example_is_accessible_and_correct()
174 check_eq!(pos.x(), 1.0f32)?; in serialized_example_is_accessible_and_correct()
175 check_eq!(pos.y(), 2.0f32)?; in serialized_example_is_accessible_and_correct()
176 check_eq!(pos.z(), 3.0f32)?; in serialized_example_is_accessible_and_correct()
[all …]
/external/rust/crates/url/tests/
Dunit.rs201 fn check_eq(a: &Url, b: &Url) { in test_equality() function
213 check_eq(&rv, &rv); in test_equality()
220 check_eq(&a, &b); in test_equality()
240 check_eq(&a, &b); in test_equality()