/external/lottie/lottie/src/test/java/com/airbnb/lottie/ |
D | LottieValueAnimatorUnitTest.java | 72 assertClose(0f, animator.getFrame()); 79 assertClose(500f, animator.getFrame()); 86 assertClose(0.5f, animator.getAnimatedFraction()); 87 assertClose(0.5f, animator.getAnimatedValueAbsolute()); 94 assertClose(0f, animator.getFrame()); 95 assertClose(0f, animator.getAnimatedFraction()); 102 assertClose(250f, animator.getFrame()); 103 assertClose(0.75f, animator.getAnimatedFraction()); 104 assertClose(0.25f, animator.getAnimatedValueAbsolute()); 112 assertClose(1000f, animator.getFrame()); [all …]
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/internal/ws/ |
D | RealWebSocketTest.java | 193 serverListener.assertClose(1000, "Hello!"); in close() 195 clientListener.assertClose(1000, "Hello!"); in close() 272 clientListener.assertClose(1000, "Hello!"); in serverCloseThenWritingPingThrows() 285 clientListener.assertClose(1000, "Hello!"); in serverCloseThenWritingMessageThrows() 298 clientListener.assertClose(1000, "Hello!"); in serverCloseThenWritingCloseThrows() 320 clientListener.assertClose(1000, "Hello!"); in serverCloseWhileWritingThrows() 343 serverListener.assertClose(1000, "Hello!"); in clientCloseClosesConnection() 347 clientListener.assertClose(1000, "Hello!"); in clientCloseClosesConnection() 355 clientListener.assertClose(1000, "Hello!"); in serverCloseClosesConnection() 358 serverListener.assertClose(1000, "Hello!"); in serverCloseClosesConnection() [all …]
|
D | WebSocketReaderTest.java | 347 callback.assertClose(1000, ""); in emptyCloseCallsCallback() 363 callback.assertClose(1000, "Hello"); in closeCallsCallback()
|
/external/python/cpython2/Lib/test/ |
D | test_complex.py | 70 def assertClose(self, x, y, eps=1e-9): member in ComplexTest 80 self.assertClose(q, y) 82 self.assertClose(q, y) 84 self.assertClose(q, y) 87 self.assertClose(q, x) 89 self.assertClose(q, x) 91 self.assertClose(q, x) 231 self.assertClose(complex(5.3, 9.8).conjugate(), 5.3-9.8j)
|
/external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
D | SurfaceTextureHelperTest.java | 91 public static void assertClose(int threshold, int expected, int actual) { in assertClose() method in SurfaceTextureHelperTest 498 assertClose(1, ref_y[i], dataY.get(y * strideY + x) & 0xFF); in testTexturetoYuv() 511 assertClose(1, ref_u[i], dataU.get(y * strideU + x) & 0xFF); in testTexturetoYuv() 512 assertClose(1, ref_v[i], dataV.get(y * strideV + x) & 0xFF); in testTexturetoYuv()
|
/external/python/cpython3/Lib/test/ |
D | test_complex.py | 66 def assertClose(self, x, y, eps=1e-9): member in ComplexTest 76 self.assertClose(q, y) 78 self.assertClose(q, y) 81 self.assertClose(q, x) 83 self.assertClose(q, x) 215 self.assertClose(complex(5.3, 9.8).conjugate(), 5.3-9.8j)
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
D | WebSocketRecorder.java | 126 public void assertClose(int code, String reason) throws IOException { in assertClose() method in WebSocketRecorder
|