Function linera_views::test_utils::run_reads
source ยท pub async fn run_reads<S: LocalRestrictedKeyValueStore>(
store: S,
key_values: Vec<(Vec<u8>, Vec<u8>)>,
)
Expand description
This test starts with a collection of key/values being inserted into the code which is then followed by a number of reading tests. The functionalities being tested are all the reading functionalities:
read_value_bytes
read_multi_values_bytes
find_keys_by_prefix
/find_key_values_by_prefix
- The ordering of keys returned by
find_keys_by_prefix
andfind_key_values_by_prefix