(pv: ProductValue)
| 630 | } |
| 631 | |
| 632 | fn gen_mutations(pv: ProductValue) -> impl Strategy<Value = Mutations<ProductValue>> { |
| 633 | ( |
| 634 | prop::collection::vec(gen_ops(pv.clone()), 0..10), |
| 635 | prop::collection::vec(gen_ops(pv.clone()), 0..10), |
| 636 | prop::collection::vec(gen_table_id(), 0..10), |
| 637 | ) |
| 638 | .prop_map(|(inserts, deletes, truncates)| Mutations { |
| 639 | inserts: inserts.into(), |
| 640 | deletes: deletes.into(), |
| 641 | truncates: truncates.into(), |
| 642 | }) |
| 643 | } |
| 644 | |
| 645 | fn gen_txdata(pv: ProductValue) -> impl Strategy<Value = Txdata<ProductValue>> { |
| 646 | ( |
no test coverage detected
searching dependent graphs…