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 {
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_region: transfer_region::Region::Rect((1, 1), (10, 4)),
//dest_region: transfer_region::Region::Point((3,3)),
dest_region: transfer_region::Region::Rect((2,2),(11,11)),
interleave_source: None,
interleave_dest: Some((1, 2)),
interleave_dest: Some((3,3)),
};
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;
fn main() {
// wasm_logger::init(wasm_logger::Config::default());
// dioxus_web::launch(App);
plate_test();
wasm_logger::init(wasm_logger::Config::default());
dioxus_web::launch(App);
// plate_test();
}