Home
last modified time | relevance | path

Searched refs:assert_equal (Results 1 – 11 of 11) sorted by relevance

/external/antlr/antlr-3.4/runtime/Ruby/test/unit/
Dtest-tree-wizard.rb19 assert_equal( type, :open )
20 assert_equal( lexer.text, '' )
21 assert_equal( lexer.error, false )
27 assert_equal(type, :close)
28 assert_equal(lexer.text, '')
29 assert_equal(lexer.error, false)
35 assert_equal(type, :percent)
36 assert_equal(lexer.text, '')
37 assert_equal(lexer.error, false)
43 assert_equal(type, :dot)
[all …]
/external/protobuf/ruby/tests/
Drepeated_field_test.rb33 assert_equal -10, m.repeated_int32.first
34 assert_equal -1_000_000, m.repeated_int64.first
35 assert_equal 10, m.repeated_uint32.first
36 assert_equal 1_000_000, m.repeated_uint64.first
37 assert_equal true, m.repeated_bool.first
38 assert_equal -1.01, m.repeated_float.first.round(2)
39 assert_equal -1.0000000000001, m.repeated_double.first
40 assert_equal 'foo', m.repeated_string.first
41 assert_equal "bar".encode!('ASCII-8BIT'), m.repeated_bytes.first
42 assert_equal TestMessage2.new(:foo => 1), m.repeated_msg.first
[all …]
Dbasic.rb181 assert_equal expected, m.inspect
215assert_equal e.message, "Expected Hash object as initializer value for map field 'map_string_int32…
220assert_equal e.message, "Expected array as initializer value for repeated field 'repeated_uint32'."
286 assert_equal [1, 2, 3], l
287 assert_equal l, [1, 2, 3]
870 assert_equal m.to_proto, encoded_msg
873 assert_equal TestMessage.decode(m.to_proto), decoded_msg
879 assert_equal m.to_json, encoded_msg
882 assert_equal TestMessage.decode_json(m.to_json), decoded_msg
911 assert_equal expected_result, m.to_h
Dstress.rb33 assert_equal mnew.inspect, m.inspect
/external/llvm/test/Bindings/OCaml/
Dtarget.ml27 let assert_equal a b = function
28 if a <> b then failwith "assert_equal"
48 assert_equal (DL.as_string dl) layout;
49 assert_equal (DL.byte_order dl) Endian.Little;
50 assert_equal (DL.pointer_size dl) 4;
51 assert_equal (DL.intptr_type context dl) i32_type;
52 assert_equal (DL.qualified_pointer_size 0 dl) 4;
53 assert_equal (DL.qualified_intptr_type context 0 dl) i32_type;
54 assert_equal (DL.size_in_bits sty dl) (Int64.of_int 96);
55 assert_equal (DL.store_size sty dl) (Int64.of_int 12);
[all …]
/external/autotest/server/site_tests/bluetooth_SDP_ServiceAttributeRequest/
Dbluetooth_SDP_ServiceAttributeRequest.py78 def assert_equal(actual, expected): member in bluetooth_SDP_ServiceAttributeRequest
136 self.assert_equal(res,
166 self.assert_equal(self.get_attribute(class_id, attr_id),
219 self.assert_equal(value[0], [self.L2CAP_UUID, self.ATT_PSM])
223 self.assert_equal(value[1][0], self.ATT_UUID)
269 self.assert_equal(len(profile_list), 1)
273 self.assert_equal(len(profile_list[0]), 2)
275 self.assert_equal(profile_list[0][0], self.PNP_INFORMATION_CLASS_ID)
300 self.assert_equal(res, [])
322 self.assert_equal(response, [attr_id, self.FAKE_ATTRIBUTE_VALUE])
[all …]
/external/skia/tests/
DCrossContextImageTest.cpp35 static void assert_equal(skiatest::Reporter* reporter, SkImage* a, SkImage* b, int error) { in assert_equal() function
114 assert_equal(reporter, testImage.get(), image.get(),
164 assert_equal(reporter, testImage.get(), image.get(),
232 assert_equal(reporter, testImage.get(), image.get(),
DGpuSampleLocationsTest.cpp109 void assert_equal(skiatest::Reporter* reporter, const SamplePattern& pattern, in assert_equal() function
154 assert_equal(reporter, kTestPatterns[i], in test_sampleLocations()
DImageTest.cpp48 static void assert_equal(skiatest::Reporter* reporter, SkImage* a, const SkIRect* subsetA, in assert_equal() function
169 assert_equal(reporter, image, nullptr, decoded.get()); in test_encode()
175 assert_equal(reporter, image, &ir, decoded.get()); in test_encode()
552 assert_equal(reporter, image.get(), nullptr, rasterImage.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dscreen_finder_unittest.py275 np.testing.assert_equal(ret, expected)
284 np.testing.assert_equal(ret2, expected2)
344 np.testing.assert_equal(ret, corners_4)
351 np.testing.assert_equal(ret, corners_4)
359 np.testing.assert_equal(ret, corners_4)
366 np.testing.assert_equal(ret, expected)
/external/autotest/server/site_tests/network_WiFi_RegDomain/
Dnetwork_WiFi_RegDomain.py40 def assert_equal(description, actual, expected): member in network_WiFi_RegDomain
286 self.assert_equal(