picrs_lib/lib.rs
1mod axis;
2pub mod table;
3
4//#[cfg(test)]
5//mod tests {
6// use super::*;
7//
8// //to make sure hint gen looks right
9// #[test]
10// fn gen_board() {
11// let columns = 2;
12// let rows = 2;
13// let filled = 1;
14// let mut table = Table::new(columns, rows, filled);
15// for column in &table.columns {
16// print!("{:?}", column.hints)
17// }
18// println!("");
19// for row in &table.rows {
20// println!("{:?}", row.hints)
21// }
22// table.toggle_square((0, 0));
23// println!("{:?}", table.is_solved());
24// }
25//}