Home
last modified time | relevance | path

Searched refs:assertLessEqual (Results 1 – 25 of 108) sorted by relevance

12345

/external/grpc-grpc/src/python/grpcio_tests/tests/testing/
D_time_test.py54 self.assertLessEqual(start_time + _QUANTUM, end_time)
61 self.assertLessEqual(start_time + _QUANTUM, end_time)
72 self.assertLessEqual(start_time + _QUANTUM, call_times[0])
83 self.assertLessEqual(start_time + _QUANTUM, call_times[0])
146 self.assertLessEqual(start_time + _QUANTUM, call_times[0])
147 self.assertLessEqual(start_time + _QUANTUM, call_times[1])
148 self.assertLessEqual(start_time + _QUANTUM * 3, call_times[2])
/external/tensorflow/tensorflow/contrib/distribute/python/
Dcombinations_test.py136 self.assertLessEqual(3, a + b + c)
137 self.assertLessEqual(a + b + c, 5)
140 self.assertLessEqual(3, a + b + c)
141 self.assertLessEqual(a + b + c, 5)
/external/tensorflow/tensorflow/python/framework/
Dversions_test.py42 self.assertLessEqual(0, min_consumer)
43 self.assertLessEqual(0, min_producer)
44 self.assertLessEqual(min_producer, version)
/external/python/cpython2/Lib/unittest/test/
Dtest_case.py815 self.assertLessEqual(1, 2)
816 self.assertLessEqual(1, 1)
822 self.assertRaises(self.failureException, self.assertLessEqual, 2, 1)
829 self.assertLessEqual(1.0, 1.1)
830 self.assertLessEqual(1.0, 1.0)
836 self.assertRaises(self.failureException, self.assertLessEqual, 1.1, 1.0)
843 self.assertLessEqual('ant', 'bug')
844 self.assertLessEqual('ant', 'ant')
850 self.assertRaises(self.failureException, self.assertLessEqual, 'bug', 'ant')
857 self.assertLessEqual(u'ant', u'bug')
[all …]
/external/tensorflow/tensorflow/python/keras/preprocessing/
Dtext_test.py34 self.assertLessEqual(np.max(encoded), 4)
41 self.assertLessEqual(np.max(encoded), 4)
69 self.assertLessEqual(np.max(encoded), 4)
77 self.assertLessEqual(np.max(encoded), 4)
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/
Dbase_test.py43 self.assertLessEqual(abs(actual - expected), 0.25 * expected)
64 self.assertLessEqual(abs(actual - expected), 0.25 * expected)
/external/tensorflow/tensorflow/contrib/solvers/python/kernel_tests/
Dleast_squares_test.py67 self.assertLessEqual(norm_s, tol * norm_s0)
72 self.assertLessEqual(norm_s_np, tol * norm_s0)
Dlinear_equations_test.py96 self.assertLessEqual(norm_r, tol * norm_r0)
101 self.assertLessEqual(norm_r_np, tol * norm_r0)
/external/python/cpython2/Lib/test/
Dtest_struct.py175 self.assertLessEqual(2, struct.calcsize('h'))
176 self.assertLessEqual(4, struct.calcsize('l'))
177 self.assertLessEqual(struct.calcsize('h'), struct.calcsize('i'))
178 self.assertLessEqual(struct.calcsize('i'), struct.calcsize('l'))
183 self.assertLessEqual(8, struct.calcsize('q'))
184 self.assertLessEqual(struct.calcsize('l'), struct.calcsize('q'))
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/optimization/
Dhoist_random_uniform_test.py70 self.assertLessEqual(1, result)
71 self.assertLessEqual(result, 10)
/external/tensorflow/tensorflow/python/kernel_tests/
Dattention_ops_test.py104 self.assertLessEqual(value_rows[0][i][j][0], max_random_val)
106 self.assertLessEqual(value_cols[0][i][j][0], max_random_val)
Dcandidate_sampler_ops_test.py132 self.assertLessEqual(num_same, 2)
/external/python/cpython3/Lib/unittest/test/
Dtest_case.py1039 self.assertLessEqual(1, 2)
1040 self.assertLessEqual(1, 1)
1046 self.assertRaises(self.failureException, self.assertLessEqual, 2, 1)
1053 self.assertLessEqual(1.0, 1.1)
1054 self.assertLessEqual(1.0, 1.0)
1060 self.assertRaises(self.failureException, self.assertLessEqual, 1.1, 1.0)
1067 self.assertLessEqual('ant', 'bug')
1068 self.assertLessEqual('ant', 'ant')
1074 self.assertRaises(self.failureException, self.assertLessEqual, 'bug', 'ant')
1081 self.assertLessEqual(b'ant', b'bug')
[all …]
/external/python/cpython3/Lib/test/
Dtest_struct.py159 self.assertLessEqual(2, struct.calcsize('h'))
160 self.assertLessEqual(4, struct.calcsize('l'))
161 self.assertLessEqual(struct.calcsize('h'), struct.calcsize('i'))
162 self.assertLessEqual(struct.calcsize('i'), struct.calcsize('l'))
163 self.assertLessEqual(8, struct.calcsize('q'))
164 self.assertLessEqual(struct.calcsize('l'), struct.calcsize('q'))
Dtest_time.py114 self.assertLessEqual(a, b)
126 self.assertLessEqual(t1, t2)
133 self.assertLessEqual(res, 1.0)
570 self.assertLessEqual(info.resolution, 1.0)
/external/python/oauth2client/scripts/
Drun_gce_system_tests.py52 self.assertLessEqual(int(payload['expires_in']), 3600)
/external/tensorflow/tensorflow/contrib/constrained_optimization/python/
Dcandidates_test.py60 self.assertLessEqual(maximum_constraint_violation, 1e-6)
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_event_unittest.py312 self.assertLessEqual(one_open['ts'], two_open['ts'])
349 self.assertLessEqual(one_open['ts'], two_open['ts'])
350 self.assertLessEqual(one_close['ts'], two_close['ts'])
Dtrace_time_unittest.py117 self.assertLessEqual(time_one, time_two)
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Doverride_threadpool_test.py71 self.assertLessEqual(len(thread_ids), num_threads)
Dstats_dataset_test_base.py64 self.assertLessEqual(min_value, value.histo.min)
/external/tensorflow/tensorflow/contrib/tensor_forest/client/
Drandom_forest_test.py143 self.assertLessEqual(
329 self.assertLessEqual(
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_undo.py131 self.assertLessEqual(len(self.delegator.undolist), max_undo)
/external/python/cpython2/Lib/bsddb/test/
Dtest_dbenv.py57 self.assertLessEqual(size, size2[1])
131 self.assertLessEqual(i, j)
188 self.assertLessEqual(cachesize2[1], cachesize3[1])
/external/tensorflow/tensorflow/contrib/gan/python/features/python/
Drandom_tensor_pool_test.py57 self.assertLessEqual(out, i)

12345