Debian Codegraph @

debian/missing-sources/proptest/tests/pass/with_params.rs

raw
1 fn main() {}
2
3 #[proptest::property_test(
4 config = proptest::test_runner::Config {
5 cases: 10,
6 ..Default::default()
7 }
8 )]
9 fn no_trailing_comma(x: i32) {
10 assert_eq!(x, x);
11 }
12
13 #[proptest::property_test(
14 config = proptest::test_runner::Config {
15 cases: 10,
16 ..Default::default()
17 }
18 )]
19 fn trailing_comma(x: i32,) {
20 assert_eq!(x, x);
21 }