Switching back to UI testing

This commit is contained in:
Emilia Allison 2023-05-20 21:29:21 -04:00
parent 46c09a598e
commit 0ed4fe8809
Signed by: emilia
GPG Key ID: 7A3F8997BFE894E0
2 changed files with 11 additions and 7 deletions

View File

@ -26,12 +26,16 @@ pub fn plate_test() {
let transfer = transfer_region::TransferRegion { let transfer = transfer_region::TransferRegion {
source_plate: &source, source_plate: &source,
source_region: transfer_region::Region::Rect((1, 1), (5, 1)), source_region: transfer_region::Region::Rect((1, 1), (2, 2)),
dest_plate: &destination, dest_plate: &destination,
dest_region: transfer_region::Region::Rect((1, 1), (10, 4)), dest_region: transfer_region::Region::Rect((2,2),(11,11)),
//dest_region: transfer_region::Region::Point((3,3)),
interleave_source: None, interleave_source: None,
interleave_dest: Some((1, 2)), interleave_dest: Some((3,3)),
}; };
println!("{}", transfer); println!("{}", transfer);
let sws = transfer.get_source_wells();
let m = transfer.calculate_map();
for w in sws {
println!("{:?} -> {:?}", w,m(w));
}
} }

View File

@ -3,7 +3,7 @@ use plate_tool::App;
use wasm_logger; use wasm_logger;
fn main() { fn main() {
// wasm_logger::init(wasm_logger::Config::default()); wasm_logger::init(wasm_logger::Config::default());
// dioxus_web::launch(App); dioxus_web::launch(App);
plate_test(); // plate_test();
} }