]> git.lizzy.rs Git - rust.git/commitdiff
note source of test values
authorRalf Jung <post@ralfj.de>
Sun, 19 Apr 2020 07:21:00 +0000 (09:21 +0200)
committerRalf Jung <post@ralfj.de>
Sun, 19 Apr 2020 07:21:00 +0000 (09:21 +0200)
tests/run-pass/float.rs

index c56d12a0c00e783e624eb5618dc31d11758d5947..fc513ead8dd8683649a6405ca9c27a4f35a7434d 100644 (file)
@@ -114,6 +114,8 @@ fn basic() {
     assert_eq(y, 42.0_f32);
 }
 
+/// Many of these test values are taken from
+/// https://github.com/WebAssembly/testsuite/blob/master/conversions.wast.
 fn casts() {
     // f32 -> i8
     test_both_cast::<f32, i8>(127.99, 127);