I used the following command to execute the kani test and it took close to 30 min on my M1 mac
cargo kani --tests --harness kani_test --mir-linker --enable-unstable
#[test]
#[cfg_attr(kani, kani::proof, kani::unwind(9))]
fn kani_test() {
// Confirm that a
let gen = gen::<VarInt>();
check!()
.with_generator(gen)
.cloned()
.for_each(|pn| {
let space = PacketNumberSpace::ApplicationData;
let mut map = Map::default();
assert!(map.is_empty());
let pn = space.new_packet_number(pn);
map.insert(pn, ());
assert!(map.get(pn).is_some());
assert!(!map.is_empty());
});
}
aws/s2n-quic#1508
I used the following command to execute the kani test and it took close to 30 min on my M1 mac
cargo kani --tests --harness kani_test --mir-linker --enable-unstable