picrs-lib 0.1.1

library providing basic functionality of a picross game
Documentation
mod axis;
pub mod table;

//#[cfg(test)]
//mod tests {
//    use super::*;
//
//    //to make sure hint gen looks right
//    #[test]
//    fn gen_board() {
//        let columns = 2;
//        let rows = 2;
//        let filled = 1;
//        let mut table = Table::new(columns, rows, filled);
//        for column in &table.columns {
//            print!("{:?}", column.hints)
//        }
//        println!("");
//        for row in &table.rows {
//            println!("{:?}", row.hints)
//        }
//        table.toggle_square((0, 0));
//        println!("{:?}", table.is_solved());
//    }
//}