Switching back to UI testing
This commit is contained in:
parent
46c09a598e
commit
0ed4fe8809
12
src/lib.rs
12
src/lib.rs
|
@ -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));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue