Libraryless. Click here for Pure Java version (3174L/18K).
1 | svoid test_rebaseZeroTo() {
|
2 | testFunctionValues_twoArgs_flat((IF2<Double, Double, S>) (a, b) -> formatDouble3(rebaseZeroTo(a, b)), |
3 | 0.1, 0.0, formatDouble3(0.1), |
4 | 0.1, 0.5, formatDouble3(0.55), |
5 | 0.1, 1.0, formatDouble3(1.0), |
6 | 0.5, 0.5, formatDouble3(0.75), |
7 | ); |
8 | } |
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032210 |
| Snippet name: | test_rebaseZeroTo |
| Eternal ID of this version: | #1032210/4 |
| Text MD5: | a51dc856f9f2ac1d28cc7fd67380d29c |
| Transpilation MD5: | a80f454b52da9621604a9567cda1f71c |
| Author: | stefan |
| Category: | javax / math |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-08-20 07:47:00 |
| Source code size: | 283 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 341 / 450 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |