(pv: ProductValue)
| 643 | } |
| 644 | |
| 645 | fn gen_txdata(pv: ProductValue) -> impl Strategy<Value = Txdata<ProductValue>> { |
| 646 | ( |
| 647 | prop::option::of(any::<Inputs>()), |
| 648 | prop::option::of(any::<Outputs>()), |
| 649 | prop::option::of(gen_mutations(pv)), |
| 650 | ) |
| 651 | .prop_map(|(inputs, outputs, mutations)| Txdata { |
| 652 | inputs, |
| 653 | outputs, |
| 654 | mutations, |
| 655 | }) |
| 656 | } |
| 657 | |
| 658 | static SOME_PV: Lazy<ProductValue> = Lazy::new(|| product![42u64, "kermit", 4u32, 2u32, 18u32]); |
| 659 | static SOME_PV_TY: Lazy<ProductType> = Lazy::new(|| { |
nothing calls this directly
no test coverage detected
searching dependent graphs…