mirror of
https://github.com/Chaoscaot/schemsearch.git
synced 2025-11-05 05:54:02 +01:00
Restructure
This commit is contained in:
13
schemsearch-cli/src/main.rs
Normal file
13
schemsearch-cli/src/main.rs
Normal file
@ -0,0 +1,13 @@
|
||||
use std::path::Path;
|
||||
use schemsearch_files::Schematic;
|
||||
use schemsearch_lib::pattern_mapper::match_palette;
|
||||
|
||||
fn main() {
|
||||
let schematic = Schematic::load(Path::new("tests/simple.schem"));
|
||||
let endstone = Schematic::load(Path::new("tests/endstone.schem"));
|
||||
|
||||
let (matched_schematic, matched_endstone) = match_palette(&schematic, &endstone, true);
|
||||
|
||||
println!("{:?}", matched_schematic);
|
||||
println!("{:?}", matched_endstone);
|
||||
}
|
||||
Reference in New Issue
Block a user