removed hashed_storage test
This commit is contained in:
parent
957c286e59
commit
e9b8433117
@ -60,21 +60,6 @@ fn option_vec_printer() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
|
||||||
fn hashed_storage() {
|
|
||||||
use ytbn_graphing_software::{hashed_storage_create, hashed_storage_read};
|
|
||||||
|
|
||||||
let commit = "abcdefeg".chars().map(|c| c as u8).collect::<Vec<u8>>();
|
|
||||||
let data = "really cool data"
|
|
||||||
.chars()
|
|
||||||
.map(|c| c as u8)
|
|
||||||
.collect::<Vec<u8>>();
|
|
||||||
let storage = hashed_storage_create(data.as_slice());
|
|
||||||
|
|
||||||
let read = hashed_storage_read(&storage);
|
|
||||||
assert_eq!(read, Some(data.to_vec()));
|
|
||||||
}
|
|
||||||
|
|
||||||
// #[test]
|
// #[test]
|
||||||
// fn to_values() {
|
// fn to_values() {
|
||||||
// use egui::plot::{Value, Values};
|
// use egui::plot::{Value, Values};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user