Home
last modified time | relevance | path

Searched refs:assertSequenceEqual (Results 1 – 25 of 61) sorted by relevance

123

/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/serialization/
Dcache_dataset_serialization_test.py65 self.assertSequenceEqual(outputs, range(5))
75 self.assertSequenceEqual(outputs, self.expected_outputs())
86 self.assertSequenceEqual(outputs, range(8))
95 self.assertSequenceEqual(outputs, self.expected_outputs())
105 self.assertSequenceEqual(outputs, list(range(10)) + list(range(5)))
115 self.assertSequenceEqual(outputs, self.expected_outputs())
126 self.assertSequenceEqual(outputs, list(range(10)) + list(range(8)))
133 self.assertSequenceEqual(outputs, list(range(10)) * 3)
144 self.assertSequenceEqual(outputs, list(range(10)) + list(range(3)))
156 self.assertSequenceEqual(outputs, list(range(10)) * 3)
[all …]
Dsnapshot_dataset_serialization_test.py56 self.assertSequenceEqual(outputs, range(50))
59 self.assertSequenceEqual(outputs, range(100))
67 self.assertSequenceEqual(outputs, list(range(50)))
73 self.assertSequenceEqual(
82 self.assertSequenceEqual(outputs, range(20))
87 self.assertSequenceEqual(outputs, range(100))
95 self.assertSequenceEqual(outputs, list(range(100)) + list(range(10)))
101 self.assertSequenceEqual(
112 self.assertSequenceEqual(outputs, list(range(100)) + list(range(20)))
119 self.assertSequenceEqual(
[all …]
Dcheckpoint_input_pipeline_hook_test.py87 self.assertSequenceEqual(self._read_vars(est.model_dir), (2, 1))
89 self.assertSequenceEqual(self._read_vars(est.model_dir), (4, 3))
102 self.assertSequenceEqual(self._read_vars(est.model_dir), (2, 1))
104 self.assertSequenceEqual(self._read_vars(est.model_dir), (4, 3))
115 self.assertSequenceEqual(self._read_vars(est.model_dir), (2, 1))
117 self.assertSequenceEqual(self._read_vars(est.model_dir), (4, 3))
120 self.assertSequenceEqual(self._read_vars(est.model_dir), (6, 1))
/external/tensorflow/tensorflow/python/framework/
Dfunction_def_to_graph_test.py65 self.assertSequenceEqual(inputs, [2.0, 3.0])
67 self.assertSequenceEqual(outputs, [13.0, 35.0])
84 self.assertSequenceEqual(g.inputs[0].shape.dims, [5])
85 self.assertSequenceEqual(g.inputs[1].shape.dims, [5])
86 self.assertSequenceEqual(g.outputs[0].shape.dims, [5])
87 self.assertSequenceEqual(g.outputs[1].shape.dims, [5])
92 self.assertSequenceEqual(g.inputs[1].shape.dims, [5, 7])
93 self.assertSequenceEqual(g.outputs[0].shape.dims, [5, 7])
94 self.assertSequenceEqual(g.outputs[1].shape.dims, [5, 7])
154 self.assertSequenceEqual(g.node[3].input, ["x:0", "y:0", "z:0"])
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/reflection/
D_reflection_servicer_test.py83 self.assertSequenceEqual(expected_responses, responses)
107 self.assertSequenceEqual(expected_responses, responses)
136 self.assertSequenceEqual(expected_responses, responses)
161 self.assertSequenceEqual(expected_responses, responses)
172 self.assertSequenceEqual(expected_responses, responses)
/external/python/cpython3/Lib/test/
Dtest_audit.py76 self.assertSequenceEqual(
101 self.assertSequenceEqual(["winreg.EnumKey", " ", f"{expected} 0"], events[2])
102 self.assertSequenceEqual(["winreg.EnumKey", " ", f"{expected} 10000"], events[3])
103 self.assertSequenceEqual(["winreg.PyHKEY.Detach", " ", expected], events[4])
Daudit-tests.py63 def assertSequenceEqual(x, y): function
157 assertSequenceEqual(
188 assertSequenceEqual(
202 assertSequenceEqual([], actual_flag)
235 assertSequenceEqual(["call"] * 4, traced)
Dtest_compare.py65 self.assertSequenceEqual(calls, ['Left.__eq__', 'Right.__ne__'])
83 self.assertSequenceEqual(calls, ['Derived.__ne__', 'Base.__eq__'])
Dtest_sndhdr.py21 self.assertSequenceEqual(what, expected)
/external/python/parse_type/tests/
Dtest_cardinality_field.py211 self.assertSequenceEqual(set(new_types.keys()), set(special_names))
245 self.assertSequenceEqual(set(new_types.keys()), set(missing_names))
257 self.assertSequenceEqual(set(new_types.keys()), set(type_names))
258 self.assertSequenceEqual(set(type_dict.keys()), set(all_type_names))
275 self.assertSequenceEqual(set(new_types.keys()), set(type_names1))
276 self.assertSequenceEqual(set(type_dict.keys()),
283 self.assertSequenceEqual(set(new_types2.keys()), set(["Number+"]))
Dtest_parse_util.py349 self.assertSequenceEqual(fields, [expected_field])
354 self.assertSequenceEqual(fields, fields2)
369 self.assertSequenceEqual(fields, expected_fields)
374 self.assertSequenceEqual(fields2, expected_fields)
387 self.assertSequenceEqual(type_names, expected_types)
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_interceptor_test.py413 self.assertSequenceEqual(self._record, [
436 self.assertSequenceEqual(self._record, [
459 self.assertSequenceEqual(self._record, [
480 self.assertSequenceEqual(self._record, [
501 self.assertSequenceEqual(self._record, [
524 self.assertSequenceEqual(self._record, [
548 self.assertSequenceEqual(self._record, [
571 self.assertSequenceEqual(self._record, [
594 self.assertSequenceEqual(self._record, [
D_channel_connectivity_test.py77 self.assertSequenceEqual((grpc.ChannelConnectivity.IDLE,),
112 self.assertSequenceEqual((grpc.ChannelConnectivity.IDLE,),
114 self.assertSequenceEqual((grpc.ChannelConnectivity.IDLE,),
D_empty_message_test.py105 self.assertSequenceEqual([_RESPONSE] * test_constants.STREAM_LENGTH,
116 self.assertSequenceEqual([_RESPONSE] * test_constants.STREAM_LENGTH,
D_auth_context_test.py140 self.assertSequenceEqual([b'ssl'], auth_ctx['transport_security_type'])
141 self.assertSequenceEqual([b'*.test.google.com'],
D_api_test.py88 self.assertSequenceEqual((
/external/tensorflow/tensorflow/python/kernel_tests/
Dwhile_v2_test.py90 self.assertSequenceEqual(self.evaluate(grad), [32.])
129 self.assertSequenceEqual(self.evaluate(grad), [32.])
142 self.assertSequenceEqual(sess.run(grad), [32.])
349 self.assertSequenceEqual(self.evaluate(ret), [45., 3.])
350 self.assertSequenceEqual(self.evaluate(grad), [9.])
370 self.assertSequenceEqual(self.evaluate(ret), [45., 3.])
371 self.assertSequenceEqual(self.evaluate(grad), [9.])
396 self.assertSequenceEqual(self.evaluate(ret), [120., 23.])
397 self.assertSequenceEqual(self.evaluate(gradx_0), [39.])
398 self.assertSequenceEqual(self.evaluate(gradx_1), [4.])
[all …]
/external/protobuf/python/google/protobuf/internal/
Dmessage_test.py1063 self.assertSequenceEqual([], m.repeated_int32)
1068 self.assertSequenceEqual([], m.repeated_int32)
1071 self.assertSequenceEqual([], m.repeated_int32)
1076 self.assertSequenceEqual([], m.repeated_float)
1081 self.assertSequenceEqual([], m.repeated_float)
1084 self.assertSequenceEqual([], m.repeated_float)
1089 self.assertSequenceEqual([], m.repeated_string)
1094 self.assertSequenceEqual([], m.repeated_string)
1097 self.assertSequenceEqual([], m.repeated_string)
1102 self.assertSequenceEqual([], m.repeated_int32)
[all …]
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py748 self.assertSequenceEqual([], ())
757 self.assertSequenceEqual, a, tuple(b))
762 self.assertSequenceEqual(a, tuple(b))
763 self.assertSequenceEqual(tuple(a), b)
772 self.assertRaises(self.failureException, self.assertSequenceEqual,
776 self.assertRaises(self.failureException, self.assertSequenceEqual,
809 self.assertSequenceEqual(seq1, seq2)
819 self.assertSequenceEqual(seq1, seq2)
829 self.assertSequenceEqual(seq1, seq2)
1168 self.assertSequenceEqual(a, tuple(b))
[all …]
/external/llvm-project/lldb/third_party/Python/module/unittest2/unittest2/test/
Dtest_case.py724 self.assertSequenceEqual([], ())
733 self.assertSequenceEqual, a, tuple(b))
738 self.assertSequenceEqual(a, tuple(b))
739 self.assertSequenceEqual(tuple(a), b)
748 self.assertRaises(self.failureException, self.assertSequenceEqual,
752 self.assertRaises(self.failureException, self.assertSequenceEqual,
1093 self.assertSequenceEqual(seq1, seq2)
1103 self.assertSequenceEqual(seq1, seq2)
1113 self.assertSequenceEqual(seq1, seq2)
/external/python/cpython2/Lib/unittest/test/
Dtest_case.py545 self.assertSequenceEqual([], ())
554 self.assertSequenceEqual, a, tuple(b))
559 self.assertSequenceEqual(a, tuple(b))
560 self.assertSequenceEqual(tuple(a), b)
569 self.assertRaises(self.failureException, self.assertSequenceEqual,
573 self.assertRaises(self.failureException, self.assertSequenceEqual,
605 self.assertSequenceEqual(seq1, seq2)
615 self.assertSequenceEqual(seq1, seq2)
625 self.assertSequenceEqual(seq1, seq2)
/external/grpc-grpc/src/python/grpcio_tests/tests/_sanity/
D_sanity_test.py42 self.assertSequenceEqual(tests_json, test_suite_names)
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dshuffle_and_repeat_test.py51 self.assertSequenceEqual(
55 self.assertSequenceEqual(sorted(output[i * 20:(i + 1) * 20]), range(20))
/external/pigweed/pw_arduino_build/py/
Dfile_operations_test.py98 self.assertSequenceEqual(expected_results, result)
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/framework/foundation/
D_logging_pool_test.py68 self.assertSequenceEqual((passed_object,),

123