/external/chromium_org/content/child/ |
touch_fling_gesture_curve_unittest.cc | 60 EXPECT_NEAR(target.current_velocity().width, 1878, 1); 65 EXPECT_NEAR(target.cumulative_delta().width, 1193, 1);
|
/external/chromium_org/ui/events/gesture_detection/ |
velocity_tracker_unittest.cc | 109 EXPECT_NEAR(v.x(), state.GetXVelocity(0), kEpsilson * v.x()); 110 EXPECT_NEAR(v.y(), state.GetYVelocity(0), kEpsilson * v.y()); 113 EXPECT_NEAR(v.x(), state.GetXVelocity(-1), kEpsilson * v.x()); 114 EXPECT_NEAR(v.y(), state.GetYVelocity(-1), kEpsilson * v.y()); 135 EXPECT_NEAR(-100, state.GetXVelocity(0), kEpsilson); 136 EXPECT_NEAR(100, state.GetYVelocity(0), kEpsilson); 139 EXPECT_NEAR(-1000, state.GetXVelocity(0), kEpsilson); 140 EXPECT_NEAR(1000, state.GetYVelocity(0), kEpsilson);
|
/external/chromium_org/ui/views/corewm/ |
tooltip_aura_unittest.cc | 46 EXPECT_NEAR(max_pixel_width, width, error_in_pixel_width); 59 EXPECT_NEAR(max_pixel_width, width, error_in_pixel_width); 73 EXPECT_NEAR(max_pixel_width, width, error_in_pixel_width); 77 EXPECT_NEAR(tooltip_len + expect_lines - 2, tooltip.length(), 1); 86 EXPECT_NEAR(max_pixel_width, width, 5);
|
/external/chromium_org/skia/ext/ |
convolver_unittest.cc | 448 EXPECT_NEAR(first_value, 100, 1); 456 EXPECT_NEAR(output[test_row * dest_row_stride], 100, 1); 457 EXPECT_NEAR(output[test_row * dest_row_stride + 1], 80, 1); 458 EXPECT_NEAR(output[test_row * dest_row_stride + 2], 60, 1); 459 EXPECT_NEAR(output[test_row * dest_row_stride + 3], 40, 1); 460 EXPECT_NEAR(output[(test_row + 1) * dest_row_stride - 1], 100, 1); 461 EXPECT_NEAR(output[(test_row + 1) * dest_row_stride - 2], 80, 1); 462 EXPECT_NEAR(output[(test_row + 1) * dest_row_stride - 3], 60, 1); 463 EXPECT_NEAR(output[(test_row + 1) * dest_row_stride - 4], 40, 1); 470 EXPECT_NEAR(output[test_column], 100, 1) [all...] |
/system/core/libutils/tests/ |
Looper_test.cpp | 120 EXPECT_NEAR(100, elapsedMillis, TIMING_TOLERANCE_MS) 133 EXPECT_NEAR(0, elapsedMillis, TIMING_TOLERANCE_MS) 147 EXPECT_NEAR(100, elapsedMillis, TIMING_TOLERANCE_MS) 158 EXPECT_NEAR(0, elapsedMillis, TIMING_TOLERANCE_MS) 174 EXPECT_NEAR(0, elapsedMillis, TIMING_TOLERANCE_MS) 193 EXPECT_NEAR(0, elapsedMillis, TIMING_TOLERANCE_MS) 215 EXPECT_NEAR(100, elapsedMillis, TIMING_TOLERANCE_MS) 236 EXPECT_NEAR(0, elapsedMillis, TIMING_TOLERANCE_MS) 262 EXPECT_NEAR(100, elapsedMillis, TIMING_TOLERANCE_MS) 288 EXPECT_NEAR(100, elapsedMillis, TIMING_TOLERANCE_MS [all...] |
/external/ceres-solver/internal/ceres/ |
c_api_test.cc | 159 EXPECT_NEAR(0.3, m, 0.02); 160 EXPECT_NEAR(0.1, c, 0.04); 213 EXPECT_NEAR(0.3, m, 0.02); 214 EXPECT_NEAR(0.1, c, 0.04);
|
loss_function_test.cc | 204 EXPECT_NEAR(rho[i], rho_gold[i], 1e-12); 213 EXPECT_NEAR(rho[i], rho_gold[i], 1e-12); 222 EXPECT_NEAR(rho[i], rho_gold[i], 1e-12);
|
polynomial_test.cc | 322 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-15); 340 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-15); 368 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-15); 398 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-14); 441 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-14); 478 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-14); 509 EXPECT_NEAR((true_polynomial - polynomial).norm(), 0.0, 1e-14);
|
trust_region_minimizer_test.cc | 252 EXPECT_NEAR(0.0, parameters[0], 0.001); 253 EXPECT_NEAR(0.0, parameters[1], 0.001); 254 EXPECT_NEAR(0.0, parameters[2], 0.001); 255 EXPECT_NEAR(0.0, parameters[3], 0.001);
|
compressed_col_sparse_matrix_utils_test.cc | 244 EXPECT_NEAR(rhs_and_solution[i], expected[i], 1e-4) << i; 259 EXPECT_NEAR(rhs_and_solution[i], expected[i], 1e-4) << i; 278 EXPECT_NEAR(solution[j], expected[4 * i + j], 1e-3) << i;
|
local_parameterization_test.cc | 168 EXPECT_NEAR(x_plus_delta[i], x_plus_delta_ref[i], kTolerance); 177 EXPECT_NEAR(x_plus_delta_norm, 1.0, kTolerance); 192 EXPECT_NEAR(jacobian[i], jacobian_ref[i], kTolerance)
|
schur_eliminator_test.cc | 178 EXPECT_NEAR(diff / lhs_expected.norm(), 0.0, relative_tolerance); 179 EXPECT_NEAR((rhs - rhs_expected).norm() / rhs_expected.norm(), 0.0, 181 EXPECT_NEAR((sol - sol_expected).norm() / sol_expected.norm(), 0.0,
|
/external/chromium_org/cc/animation/ |
scroll_offset_animation_curve_unittest.cc | 81 EXPECT_NEAR(3.0333f, value.x(), 0.00015f); 82 EXPECT_NEAR(37.4168f, value.y(), 0.00015f); 118 EXPECT_NEAR(3.0333f, value.x(), 0.00015f); 119 EXPECT_NEAR(37.4168f, value.y(), 0.00015f);
|
/external/chromium_org/media/audio/ |
simple_sources_unittest.cc | 36 EXPECT_NEAR(0, audio_bus->channel(0)[0], 42 EXPECT_NEAR(0, audio_bus->channel(0)[half_period],
|
/external/chromium_org/media/base/ |
vector_math_unittest.cc | 213 EXPECT_NEAR(expected_final_avg_, result.first, 0.0000001f); 214 EXPECT_NEAR(expected_max_, result.second, 0.0000001f); 221 EXPECT_NEAR(expected_final_avg_, result.first, 0.0000001f); 222 EXPECT_NEAR(expected_max_, result.second, 0.0000001f); 230 EXPECT_NEAR(expected_final_avg_, result.first, 0.0000001f); 231 EXPECT_NEAR(expected_max_, result.second, 0.0000001f); 240 EXPECT_NEAR(expected_final_avg_, result.first, 0.0000001f); 241 EXPECT_NEAR(expected_max_, result.second, 0.0000001f);
|
/external/chromium_org/ui/views/ |
rect_based_targeting_utils_unittest.cc | 43 EXPECT_NEAR(0.272f, PercentCoveredBy(rect_1, rect_3), error); 44 EXPECT_NEAR(0.768f, PercentCoveredBy(rect_3, rect_1), error);
|
/external/chromium_org/net/quic/congestion_control/ |
cubic_test.cc | 49 EXPECT_NEAR(current_cwnd, 54 EXPECT_NEAR(expected_cwnd, current_cwnd, 1); 92 EXPECT_NEAR(expected_cwnd - 10, stats_.cwnd_increase_congestion_avoidance, 94 EXPECT_NEAR(1u, stats_.cwnd_increase_cubic_mode, 1);
|
/external/chromium_org/third_party/libyuv/unit_test/ |
math_test.cc | 64 EXPECT_NEAR(16384 * 65536 / i, libyuv::FixedDiv(16384, i), 1); 84 EXPECT_NEAR(result_c[j], result_opt[j], 1); 119 EXPECT_NEAR(result_c[j], result_opt[j], 1); 154 EXPECT_NEAR(result_c[j], result_opt[j], 1);
|
/external/chromium_org/ui/gfx/android/ |
scroller_unittest.cc | 84 EXPECT_NEAR(0.f, scroller.GetCurrVelocityX(), kEpsilon); 85 EXPECT_NEAR(0.f, scroller.GetCurrVelocityY(), kEpsilon); 156 EXPECT_NEAR(0.f, scroller.GetCurrVelocityX(), kEpsilon); 157 EXPECT_NEAR(0.f, scroller.GetCurrVelocityY(), kEpsilon);
|
/packages/inputmethods/LatinIME/native/jni/tests/suggest/core/layout/ |
normal_distribution_2d_test.cpp | 62 EXPECT_NEAR(probabilityDensity0, probabilityDensity1, EPSILON);
|
/external/chromium_org/ash/wm/dock/ |
docked_window_layout_manager_unittest.cc | 419 EXPECT_NEAR(gap2, min_dock_gap(), 1); 453 EXPECT_NEAR(gap2, min_dock_gap(), 1); 490 EXPECT_NEAR(gap2, min_dock_gap(), 1); 491 EXPECT_NEAR(gap3, min_dock_gap(), 1); 514 EXPECT_NEAR(gap2, min_dock_gap(), 1); 515 EXPECT_NEAR(gap3, min_dock_gap(), 1); 559 EXPECT_NEAR(gap2, min_dock_gap(), 1); 560 EXPECT_NEAR(gap3, min_dock_gap(), 1); 583 EXPECT_NEAR(gap2, min_dock_gap(), 1); 584 EXPECT_NEAR(gap3, min_dock_gap(), 1) [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
target_delay_unittest.cc | 68 EXPECT_NEAR(required_delay, jittery_optimal_delay, 1); 112 EXPECT_NEAR(kInterarrivalJitterPacket * kNum10msPerFrame * 10,
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
dtmf_tone_generator_unittest.cc | 97 EXPECT_NEAR(x, static_cast<double>(signal[kChannel][n]), 25); 133 EXPECT_NEAR(attenuation_factor * ref_signal[kChannel][n],
|
/external/chromium_org/chrome/browser/thumbnails/ |
content_based_thumbnailing_algorithm_unittest.cc | 85 EXPECT_NEAR(static_cast<float>(target_size.width()) / target_size.height(), 121 EXPECT_NEAR(result.width(), source.width(), gfx::scrollbar_size()); 122 EXPECT_NEAR(result.height(), source.height(), gfx::scrollbar_size());
|
/external/chromium_org/ui/gfx/geometry/ |
matrix3_unittest.cc | 64 EXPECT_NEAR(0.3149f, matrix.Determinant(), 0.0001f); 125 EXPECT_NEAR(0.0f, 140 EXPECT_NEAR(0, expected_eigv.LengthSquared(), 0.00001f);
|