Home
last modified time | relevance | path

Searched refs:expected_results (Results 1 – 22 of 22) sorted by relevance

/external/Reactive-Extensions/RxCpp/Rx/v2/test/operators/
Dpublish.cpp57 std::vector<int> expected_results; variable
58 expected_results.push_back(0);
59 expected_results.push_back(1);
60 expected_results.push_back(2);
61 expected_results.push_back(3);
63 CHECK(results == expected_results);
83 std::vector<long> expected_results; variable
85 expected_results.push_back(i);
87 CHECK(results == expected_results);
125 std::vector<long> expected_results; variable
[all …]
/external/chromium-trace/catapult/devil/devil/android/
Dlogcat_monitor_test.py123 expected_results = [
137 self.assertIterEqual(iter(expected_results), actual_results)
147 expected_results = []
149 self.assertIterEqual(iter(expected_results), actual_results)
161 expected_results = [
164 self.assertIterEqual(iter(expected_results), actual_results)
176 expected_results = [
179 self.assertIterEqual(iter(expected_results), actual_results)
191 expected_results = [
197 self.assertIterEqual(iter(expected_results), actual_results)
[all …]
/external/autotest/site_utils/
Dtest_push_common.py50 def summarize_push(test_views, expected_results, ignored_tests=[]): argument
52 test_push_errors = _match_test_results(test_views, expected_results,
57 def _match_test_results(test_views, expected_results, ignored_tests): argument
71 for test_name_pattern, expected_result in expected_results.items():
84 missing_tests = set(expected_results.keys()) - found_keys
Dtest_push.py323 def test_suite(suite_name, expected_results, arguments, use_shard=False, argument
345 verify_test_results(suite_job_id, expected_results)
348 def verify_test_results(job_id, expected_results): argument
357 summary = test_push_common.summarize_push(test_views, expected_results,
371 def test_suite_wrapper(queue, suite_name, expected_results, arguments, argument
385 test_suite(suite_name, expected_results, arguments, use_shard,
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_select_reuseport.c33 static enum result expected_results[NR_RESULTS]; variable
318 if (results[i] != expected_results[i]) { in check_results()
335 printf("%u", expected_results[0]); in check_results()
337 printf(", %u", expected_results[i]); in check_results()
340 CHECK(expected_results[broken] != results[broken], in check_results()
432 expected_results[DROP_ERR_INNER_MAP]++; in test_err_inner_map()
440 expected_results[DROP_ERR_SKB_DATA]++; in test_err_skb_data()
453 expected_results[DROP_ERR_SK_SELECT_REUSEPORT]++; in test_err_sk_select_port()
466 expected_results[PASS]++; in test_pass()
489 expected_results[PASS] += 2; in test_syncookie()
[all …]
/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/
Ddense_image_warp_test.py49 expected_results = np.reshape(np.array([0., 3., 6.5, 6.]), [1, 4, 1])
55 self.assertAllClose(expected_results, predicted)
62 expected_results = np.reshape(np.array([0., 3., 6.5, 6.]), [1, 4, 1])
69 self.assertAllClose(expected_results, predicted)
76 expected_results = np.reshape(
83 self.assertAllClose(expected_results, predicted)
/external/autotest/venv/skylab_staging/
Dtest_push.py205 def _verify_test_results(task_id, expected_results): argument
214 summary = _verify_and_summarize(available_views, expected_results)
235 def _verify_and_summarize(available_views, expected_results): argument
239 return test_push_common.summarize_push(views, expected_results,
/external/toolchain-utils/crosperf/
Dgenerate_report_unittest.py46 expected_results = [('foo', 4), ('bar', 0), ('baz', 3)]
47 self.assertItemsEqual(expected_results, results)
/external/python/cpython3/Lib/test/
Dtest_multiprocessing_main_handling.py159 expected_results = "%s -> [1, 4, 9]" % self.start_method
160 self.assertEqual(out.decode('utf-8').strip(), expected_results)
/external/autotest/scheduler/
Ddrone_manager_unittest.py412 expected_results = {}
421 expected_results[drone] = self.mock_return['results']
424 expected_results)
/external/tensorflow/tensorflow/python/kernel_tests/
Dconv_ops_3d_test.py171 expected_results = []
183 expected_results.append(expected)
187 expected_values = self.evaluate(expected_results)
Dconv_ops_test.py301 expected_results = []
307 expected_results.append(expected)
310 expected_values = self.evaluate(expected_results)
/external/deqp/external/openglcts/modules/gl/
Dgl4cShaderSubroutineTests.cpp3683 const GLchar** uniform_names, const Utils::vec4<GLfloat> expected_results[5], in testDraw()
3718 …gl.uniform4f(input_data_location, expected_results[0].m_x, expected_results[0].m_y, expected_resul… in testDraw()
3719 expected_results[0].m_w); in testDraw()
3768 result = result && (results[i] == expected_results[i]); in testDraw()
3794 expected_results[i].log(message); in testDraw()
4845 Utils::vec4<glw::GLfloat> expected_results[7]; in testDraw() local
4846 …calculate(combination, left, right, indices, expected_results[0], expected_results[1], expected_re… in testDraw()
4847 expected_results[3], expected_results[4], expected_results[5], expected_results[6]); in testDraw()
4906 results[i] = (vec4_results[i] == expected_results[i]); in testDraw()
4915 …logError(combination, left, right, indices, expected_results, vec4_results, array_length, results); in testDraw()
[all …]
Dgl4cShaderSubroutineTests.hpp720 bool testAtomicDraw(glw::GLuint subourinte_index, const glw::GLuint expected_results[3]) const;
729 bool testSSBODraw(glw::GLuint subourinte_index, const glw::GLuint expected_results[4]) const;
Dgl4cGPUShaderFP64Tests.cpp15520 const glw::GLubyte* expected_results = &m_expected_results_data[results_offset]; in verifyResults() local
15534 const glw::GLvoid* expected_result_src = expected_results + result_offset; in verifyResults()
15567 const glw::GLvoid* expected_result_src = expected_results + result_offset; in verifyResults()
/external/tensorflow/tensorflow/python/keras/
Dmetrics_test.py948 self.expected_results = np.log((np.exp(error) + np.exp(-error)) / 2)
966 expected_result = np.sum(self.expected_results) / self.batch_size
977 expected_result = np.multiply(self.expected_results, sample_weight)
990 self.expected_results = y_pred - np.multiply(y_true, np.log(y_pred))
1012 expected_result = np.sum(self.expected_results) / self.batch_size
1023 expected_result = np.multiply(self.expected_results, sample_weight)
1036 self.expected_results = np.multiply(y_true, np.log(y_true / y_pred))
1058 expected_result = np.sum(self.expected_results) / self.batch_size
1070 expected_result = np.multiply(self.expected_results, sample_weight)
/external/tensorflow/tensorflow/c/
Dc_api_function_test.cc90 const std::vector<std::vector<int32_t>>& expected_results) { in RunT() argument
102 for (int i = 0; i < expected_results.size(); ++i) { in RunT()
107 CompareInt32Tensor(expected_results[i], out); in RunT()
115 const std::vector<int32_t>& expected_results) { in Run() argument
125 for (int i = 0; i < expected_results.size(); ++i) { in Run()
132 EXPECT_EQ(expected_results[i], *output_contents); in Run()
/external/autotest/frontend/afe/
Dmoblab_rpc_interface_unittest.py415 expected_results = ['dummy/R60-9500.0.0', 'dummy/R60-9497.0.0',
423 self.assertEquals(expected_results, actual_results)
/external/deqp-deps/glslang/gtests/
DHexFloat.cpp730 std::pair<int16_t, bool> expected_results; member
743 EXPECT_EQ(GetParam().expected_results.first, in TEST_P()
746 EXPECT_EQ(carry_bit, GetParam().expected_results.second); in TEST_P()
/external/swiftshader/third_party/SPIRV-Tools/test/
Dhex_float_test.cpp776 std::pair<int16_t, bool> expected_results; member
788 EXPECT_EQ(GetParam().expected_results.first, in TEST_P()
791 EXPECT_EQ(carry_bit, GetParam().expected_results.second); in TEST_P()
/external/deqp-deps/SPIRV-Tools/test/
Dhex_float_test.cpp776 std::pair<int16_t, bool> expected_results; member
788 EXPECT_EQ(GetParam().expected_results.first, in TEST_P()
791 EXPECT_EQ(carry_bit, GetParam().expected_results.second); in TEST_P()
/external/tensorflow/tensorflow/python/training/
Dinput_test.py567 expected_results = np.arange(i * batch_size, (i + 1) * batch_size)
568 max_len = expected_results[-1]
569 self.assertAllEqual(results[0], expected_results)
571 for rep in expected_results]