Skip to content

Commit

Permalink
Update snapshot examples, and add new test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybosamiya committed Feb 28, 2024
1 parent 655c14a commit a5902c7
Show file tree
Hide file tree
Showing 8 changed files with 18,401 additions and 17,380 deletions.
574 changes: 574 additions & 0 deletions examples/atomic.rs

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions examples/ironfleet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ pub enum AppReply {
}

} // verus!
// verus
// verus
}

mod app_interface_t {
Expand Down Expand Up @@ -2682,7 +2682,7 @@ impl DelegationMap<CKey> {
}

} // verus!
// end verus!
// end verus!
}

mod endpoint_hashmap_t {
Expand Down Expand Up @@ -2901,7 +2901,7 @@ pub open spec fn is_valid_lio_op<IdType, MessageType>(
// LIoOpSeqCompatibleWithReduction

} // verus!
// verus
// verus
}

mod hashmap_t {
Expand Down Expand Up @@ -7113,7 +7113,7 @@ pub fn sht_main(netc: NetClient, args: Args) -> Result<(), IronError>
}

} // verus!
// verus
// verus
}

mod marshal_ironsht_specific_v {
Expand Down Expand Up @@ -11651,7 +11651,7 @@ pub proof fn choose_smallest(low: int, high: int, p: FnSpec(int) -> bool) -> (re
}

} // verus!
}
}

pub mod clone_v {
use vstd::prelude::*;
Expand All @@ -11667,7 +11667,7 @@ pub trait VerusClone: Sized {
}

} // verus!
}
}

pub mod seq_lib_v {
use builtin::*;
Expand Down Expand Up @@ -12002,7 +12002,7 @@ pub proof fn some_differing_index_for_unequal_seqs<A>(s1: Seq<A>, s2: Seq<A>) ->
}

} // verus!
}
}

pub mod set_lib_ext_v {
use builtin::*;
Expand Down Expand Up @@ -12343,7 +12343,7 @@ pub proof fn flatten_sets_singleton_auto<A>()
// lemmas somewhere, but it's not easy to see from the profiler yet.

} // verus!
}
}
}
// TODO: maybe move into Verus?

Expand Down
Loading

0 comments on commit a5902c7

Please sign in to comment.