Commit b7d8417
committed
Expose tests for {f32,f64}.total_cmp in docs
Uncomment the helpful assert_eq! line, which is stripped out
completely in docs, and leaves the reader to mentally play
through the algorithm, or go to the playground and add a println!,
to see what the result will be.
(If these tests are known to fail on some platforms, is there
some mechanism to conditionalize this or escape the comments so
the assert_eq! source will be visible on the web?)1 parent 784916c commit b7d8417
2 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1385 | 1385 | | |
1386 | 1386 | | |
1387 | 1387 | | |
1388 | | - | |
1389 | | - | |
1390 | | - | |
| 1388 | + | |
| 1389 | + | |
| 1390 | + | |
1391 | 1391 | | |
1392 | 1392 | | |
1393 | 1393 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1383 | 1383 | | |
1384 | 1384 | | |
1385 | 1385 | | |
1386 | | - | |
1387 | | - | |
1388 | | - | |
| 1386 | + | |
| 1387 | + | |
| 1388 | + | |
1389 | 1389 | | |
1390 | 1390 | | |
1391 | 1391 | | |
| |||
0 commit comments