MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / test_find_position_before_all

Function test_find_position_before_all

atomic-core/src/crdt/apply/order.rs:505–508  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

503
504 #[test]
505 fn test_find_position_before_all() {
506 let concurrent = vec![5, 10, 15];
507 assert_eq!(find_insert_position(&2, &concurrent), InsertPosition::Start);
508 }
509
510 #[test]
511 fn test_find_position_after_all() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected