(g: &mut quickcheck::Gen)
| 40 | |
| 41 | impl quickcheck::Arbitrary for ChainMessage { |
| 42 | fn arbitrary(g: &mut quickcheck::Gen) -> Self { |
| 43 | match u8::arbitrary(g) % 3 { |
| 44 | 0 => ChainMessage::Signed(SignedMessage::arbitrary(g)), |
| 45 | 1 => ChainMessage::Ipc(IpcMessage::arbitrary(g)), |
| 46 | // _ => ChainMessage::Cetf(CetfMessage::arbitrary(g)), |
| 47 | _ => todo!(), |
| 48 | } |
| 49 | } |
| 50 | } |
| 51 | } |
| 52 |
nothing calls this directly
no outgoing calls
no test coverage detected