File: sharp_val_span.rs

package info (click to toggle)
rust-test-strategy 0.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 480 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 169 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
use test_strategy::Arbitrary;

#[derive(Arbitrary, Debug)]
struct TestInput {
    #[strategy(1..10u32)]
    x: u32,

    #[strategy(0..*#x)]
    y: u32,
}

fn main() {}