(g: &mut quickcheck::Gen)
| 160 | |
| 161 | impl quickcheck::Arbitrary for FvmQuery { |
| 162 | fn arbitrary(g: &mut quickcheck::Gen) -> Self { |
| 163 | match u8::arbitrary(g) % 5 { |
| 164 | 0 => FvmQuery::Ipld(ArbCid::arbitrary(g).0), |
| 165 | 1 => FvmQuery::ActorState(ArbAddress::arbitrary(g).0), |
| 166 | 2 => FvmQuery::Call(Box::new(SignedMessage::arbitrary(g).into_message())), |
| 167 | 3 => FvmQuery::EstimateGas(Box::new(SignedMessage::arbitrary(g).into_message())), |
| 168 | _ => FvmQuery::StateParams, |
| 169 | } |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | impl quickcheck::Arbitrary for ActorState { |
nothing calls this directly
no test coverage detected