svoid test_differentByEpsilonRatio() { assertFalseVerbose(differentByEpsilonRatio(0, 0, 0.001)); assertTrueVerbose(differentByEpsilonRatio(0, 1, 0.001)); assertTrueVerbose(differentByEpsilonRatio(-1, 1, 0.001)); assertTrueVerbose(differentByEpsilonRatio(-1, -1.1, 0.001)); assertFalseVerbose(differentByEpsilonRatio(-1, -1.01, 0.1)); }
Began life as a copy of #1036388
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): elmgxqgtpvxh, mqqgnosmbjvj, wnsclhtenguj
No comments. add comment
Snippet ID: | #1036570 |
Snippet name: | test_differentByEpsilonRatio |
Eternal ID of this version: | #1036570/1 |
Text MD5: | 306a3b986206a6efb1fa4b78217d1cfb |
Author: | stefan |
Category: | javax / math |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2023-03-13 20:59:12 |
Source code size: | 351 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 135 / 160 |
Referenced in: | #761 - New #629 - Standard functions list (LIVE) - continued on #1006654 |