OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:assertFloatEquals
(Results
1 - 6
of
6
) sorted by null
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
HermiteInterpolatorTests.java
33
private static void
assertFloatEquals
(final String message, float expected, float actual) {
69
assertFloatEquals
("slope x p0", -0.25f, mInterpolator.mSlope1X);
70
assertFloatEquals
("slope y p0", -0.75f, mInterpolator.mSlope1Y);
72
assertFloatEquals
("slope x p1", 1.50f, mInterpolator.mSlope2X);
73
assertFloatEquals
("slope y p1", 0.50f, mInterpolator.mSlope2Y);
76
assertFloatEquals
("t=0.0 x", 0.0f, mInterpolator.mInterpolatedX);
77
assertFloatEquals
("t=0.0 y", 1.0f, mInterpolator.mInterpolatedY);
80
assertFloatEquals
("t=0.2 x", 0.02400f, mInterpolator.mInterpolatedX);
81
assertFloatEquals
("t=0.2 y", 0.78400f, mInterpolator.mInterpolatedY);
84
assertFloatEquals
("t=0.5 x", 0.28125f, mInterpolator.mInterpolatedX)
[
all
...]
/art/test/477-long-to-float-conversion-precision/src/
Main.java
21
public static void
assertFloatEquals
(float expected, float result) {
35
assertFloatEquals
(Float.intBitsToFloat(-555858671), $opt$LongToFloat(-8008112895877447681L));
/art/test/422-type-conversion/src/
Main.java
53
public static void
assertFloatEquals
(float expected, float result) {
186
assertFloatEquals
(1F, $opt$noinline$ByteToFloat((byte)1));
187
assertFloatEquals
(0F, $opt$noinline$ByteToFloat((byte)0));
188
assertFloatEquals
(-1F, $opt$noinline$ByteToFloat((byte)-1));
189
assertFloatEquals
(51F, $opt$noinline$ByteToFloat((byte)51));
190
assertFloatEquals
(-51F, $opt$noinline$ByteToFloat((byte)-51));
191
assertFloatEquals
(127F, $opt$noinline$ByteToFloat((byte)127)); // 2^7 - 1
192
assertFloatEquals
(-127F, $opt$noinline$ByteToFloat((byte)-127)); // -(2^7 - 1)
193
assertFloatEquals
(-128F, $opt$noinline$ByteToFloat((byte)-128)); // -(2^7)
197
assertFloatEquals
(1F, $opt$noinline$ShortToFloat((short)1))
[
all
...]
/art/test/442-checker-constant-folding/src/
Main.java
42
public static void
assertFloatEquals
(float expected, float result) {
[
all
...]
/art/test/530-checker-lse/src/
Main.java
695
public static void
assertFloatEquals
(float result, float expected) {
740
assertFloatEquals
(test19(fa1, fa2), 1.8f);
741
assertFloatEquals
(test20().i, 0);
746
assertFloatEquals
(test24(), 8.0f);
/art/test/458-checker-instruction-simplification/src/
Main.java
39
public static void
assertFloatEquals
(float expected, float result) {
[
all
...]
Completed in 1976 milliseconds