test/benchmark #1096
test/benchmark
#1096
Replies: 1 comment
-
注:我在 $ cargo test -- --test
Finished test [unoptimized + debuginfo] target(s) in 0.00s
Running unittests src/lib.rs (target/debug/deps/benchmark-637041b67263482d)
running 2 tests
test tests::it_works ... ok
test tests::bench_u64 ... FAILED
failures:
---- tests::bench_u64 stdout ----
thread 'tests::bench_u64' panicked at src/lib.rs:17:15:
attempt to add with overflow
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
failures:
tests::bench_u64
test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
test/benchmark
https://course.rs/test/benchmark.html
Beta Was this translation helpful? Give feedback.
All reactions