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

Function test_find_position_empty

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

Source from the content-addressed store, hash-verified

497
498 #[test]
499 fn test_find_position_empty() {
500 let concurrent: Vec<i32> = vec![];
501 assert_eq!(find_insert_position(&5, &concurrent), InsertPosition::Start);
502 }
503
504 #[test]
505 fn test_find_position_before_all() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected