Home
last modified time | relevance | path

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

1234

/external/antlr/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/deqp-deps/SPIRV-Tools/test/tools/
Dspirv_test_framework_nosetest.py16 from nose.tools import assert_equal, with_setup
107 assert_equal(get_all_superclasses(A), [Root])
108 assert_equal(get_all_superclasses(B), [Root])
109 assert_equal(get_all_superclasses(C), [Root])
110 assert_equal(get_all_superclasses(D), [Root])
111 assert_equal(get_all_superclasses(E), [Root])
113 assert_equal(get_all_superclasses(H), [Root, B, C, D])
114 assert_equal(get_all_superclasses(I), [Root, E])
116 assert_equal(get_all_superclasses(O), [Root, B, C, D, E, H, I])
118 assert_equal(get_all_superclasses(U), [Root, B, C, D, E, H, I, A, O])
[all …]
Dexpect_nosetest.py18 from nose.tools import assert_equal, assert_true, assert_false
37 assert_equal(actual_object_names, expected_object_names)
/external/swiftshader/third_party/SPIRV-Tools/test/tools/
Dspirv_test_framework_nosetest.py16 from nose.tools import assert_equal, with_setup
107 assert_equal(get_all_superclasses(A), [Root])
108 assert_equal(get_all_superclasses(B), [Root])
109 assert_equal(get_all_superclasses(C), [Root])
110 assert_equal(get_all_superclasses(D), [Root])
111 assert_equal(get_all_superclasses(E), [Root])
113 assert_equal(get_all_superclasses(H), [Root, B, C, D])
114 assert_equal(get_all_superclasses(I), [Root, E])
116 assert_equal(get_all_superclasses(O), [Root, B, C, D, E, H, I])
118 assert_equal(get_all_superclasses(U), [Root, B, C, D, E, H, I, A, O])
[all …]
Dexpect_nosetest.py18 from nose.tools import assert_equal, assert_true, assert_false
37 assert_equal(actual_object_names, expected_object_names)
/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/swiftshader/third_party/llvm-7.0/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/u-boot/test/image/
Dtest-imagetools.sh46 assert_equal() function
199 assert_equal ${file} ${SRCDIR}/${file}
201 assert_equal ${TEST_OUT} ${DATAFILE2}
205 assert_equal ${DUMPIMAGE_LIST} ${MKIMAGE_LIST}
211 assert_equal ${file} ${SRCDIR}/${file}
213 assert_equal ${TEST_OUT} ${DATAFILE2}
217 assert_equal ${DUMPIMAGE_LIST} ${MKIMAGE_LIST}
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dloop_optimizer_test.cc822 name: "EpisodicReplayBuffer/add/assert_equal/Assert/AssertGuard/Switch" in TEST_F()
835 name: "EpisodicReplayBuffer/add/assert_equal/Assert/AssertGuard/NoOp" in TEST_F()
841 name: "EpisodicReplayBuffer/add/assert_equal/Assert/AssertGuard/Assert/Switch" in TEST_F()
856 s: "loc:@EpisodicReplayBuffer/add/assert_equal/All" in TEST_F()
862 name: "EpisodicReplayBuffer/add/assert_equal/Assert/AssertGuard/Assert/Switch_1" in TEST_F()
883 name: "EpisodicReplayBuffer/add/assert_equal/Assert/AssertGuard/Assert/Switch_2" in TEST_F()
904 name: "EpisodicReplayBuffer/add/assert_equal/Assert/AssertGuard/switch_f" in TEST_F()
906 input: "EpisodicReplayBuffer/add/assert_equal/Assert/AssertGuard/Switch" in TEST_F()
916 name: "EpisodicReplayBuffer/add/assert_equal/Assert/AssertGuard/control_dependency" in TEST_F()
918 input: "^EpisodicReplayBuffer/add/assert_equal/Assert/AssertGuard/NoOp" in TEST_F()
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Drnn_common_test.py52 np.testing.assert_equal(
58 np.testing.assert_equal(expected_labels_shape, labels_masked.shape,
99 np.testing.assert_equal(
/external/tensorflow/tensorflow/python/keras/
Doptimizers_test.py53 np.testing.assert_equal(
56 np.testing.assert_equal(
89 np.testing.assert_equal(
93 np.testing.assert_equal(
/external/tensorflow/tensorflow/contrib/distributions/python/ops/bijectors/
Dmatrix_inverse_tril.py139 is_square = check_ops.assert_equal(
145 is_lower_triangular = check_ops.assert_equal(
Dcholesky_outer_product.py100 is_square = check_ops.assert_equal(shape[-2], shape[-1])
161 is_square = check_ops.assert_equal(
Dfill_triangular.py137 is_square_matrix = check_ops.assert_equal(
165 check_ops.assert_equal(
/external/tensorflow/tensorflow/contrib/eager/python/
Dmetrics_impl.py394 check_ops.assert_equal(
436 check_ops.assert_equal(
487 check_ops.assert_equal(
537 check_ops.assert_equal(
/external/tensorflow/tensorflow/python/kernel_tests/
Dsparse_tensors_map_ops_test.py224 np.testing.assert_equal(st_roundtrip_values.values,
226 np.testing.assert_equal(st_roundtrip_values.indices,
228 np.testing.assert_equal(st_roundtrip_values.dense_shape,
Dcheck_ops_test.py158 with ops.control_dependencies([check_ops.assert_equal(small, small)]):
167 check_ops.assert_equal(const_true, const_false, message="fail")
172 x = check_ops.assert_equal(small, small)
182 check_ops.assert_equal(static_big, static_small, message="fail")
190 [check_ops.assert_equal(big, small, message="fail")]):
245 check_ops.assert_equal(big, small, message="big does not equal small",
249 check_ops.assert_equal(big, small, message="big does not equal small")
252 check_ops.assert_equal(big, small, message="big does not equal small",
262 check_ops.assert_equal(static_big, static_small, message="fail")
269 with ops.control_dependencies([check_ops.assert_equal(small, big)]):
[all …]
/external/tensorflow/tensorflow/contrib/image/python/ops/
Ddense_image_warp.py74 check_ops.assert_equal(
78 check_ops.assert_equal(
/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(
/external/tensorflow/tensorflow/python/keras/mixed_precision/experimental/
Dtest_util.py52 assert_op = check_ops.assert_equal(dx, expected_tensor, data=[dx])
/external/cn-cbor/test/
Dctest.h114 void assert_equal(long exp, long real, const char* caller, int line);
115 #define ASSERT_EQUAL(exp, real) assert_equal(exp, real, __FILE__, __LINE__)
259 void assert_equal(long exp, long real, const char* caller, int line) { in assert_equal() function

1234