Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/
Dbase_test.py41 expected_list = [1, 2, 4, 8, 16]
42 for actual, expected in zip(actual_list, expected_list):
44 self.assertEquals(len(actual_list), len(expected_list))
62 expected_list = [1, 2, 4, 8, 16]
63 for actual, expected in zip(actual_list, expected_list):
65 self.assertEquals(len(actual_list), len(expected_list))
/external/autotest/client/cros/cellular/
Dsms.py112 def compare_list(self, expected_list, got_list): argument
113 if len(expected_list) != len(got_list):
116 for (expected,got) in zip(expected_list, got_list):
148 def test_list(self, expected_list): argument
150 if self.compare_list(expected_list, sms_list) == False:
151 logging.info('Got %s, expected %s' % (sms_list, expected_list))
/external/minijail/test/
Dlibminijail_test.cpp67 bool check_groups(size_t expected_size, gid_t* expected_list) { in check_groups() argument
82 if (expected_list[i] == actual_list[j]) { in check_groups()
89 LOG(ERROR) << "Expected GID " << expected_list[i] << " not found."; in check_groups()
/external/tensorflow/tensorflow/python/saved_model/
Dnested_structure_coder_test.py82 expected_list = expected.list_value
83 expected_tensor_shape = expected_list.values.add().tensor_shape_value
87 expected_tensor_shape = expected_list.values.add().string_value = "hello"
163 expected_list = expected.list_value
164 expected_tensor_spec = expected_list.values.add().tensor_spec_value
/external/tensorflow/tensorflow/contrib/input_pipeline/python/ops/
Dinput_pipeline_ops_test.py60 def _assert_output(self, expected_list, session, op): argument
61 for element in expected_list:
/external/python/cpython3/Lib/test/
Dtest_pyexpat.py485 self.assertTrue(self.upto < len(self.expected_list),
487 expected = self.expected_list[self.upto]
497 self.expected_list = [('s', 0, 1, 0), ('s', 5, 2, 1), ('s', 11, 3, 2),
Dtest_bdb.py178 self.expected_list = list(islice(self.expect_set, 0, None, 2))
243 self.expect = self.expected_list.pop(0)
/external/python/cpython2/Lib/test/
Dtest_pyexpat.py435 self.assertTrue(self.upto < len(self.expected_list),
437 expected = self.expected_list[self.upto]
447 self.expected_list = [('s', 0, 1, 0), ('s', 5, 2, 1), ('s', 11, 3, 2),
/external/autotest/site_utils/
Dgs_offloader_unittest.py1063 def _run_get_directories(self, cls, expected_list): argument
1072 self.assertEqual(set(dirlist), set(expected_list))
/external/python/mock/mock/tests/
Dtestmock.py1015 expected_list = [((1,), dict(a=3)), ((2,), dict(b=4))]
1016 for expected, call_args in zip(expected_list, mock.call_args_list):
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmock.py1154 expected_list = [((1,), dict(a=3)), ((2,), dict(b=4))]
1155 for expected, call_args in zip(expected_list, mock.call_args_list):