|
@@ -1,9 +1,7 @@
|
|
use std::fmt;
|
|
use std::fmt;
|
|
|
|
|
|
-// use super::sudoku::*;
|
|
|
|
-use crate::sudoku::*;
|
|
|
|
-// mod sudoku;
|
|
|
|
-// use crate::sudoku::*;
|
|
|
|
|
|
+// load sudoku
|
|
|
|
+use crate::*;
|
|
|
|
|
|
/// Width of the sudoku board.
|
|
/// Width of the sudoku board.
|
|
const WIDTH: u8 = 9;
|
|
const WIDTH: u8 = 9;
|
|
@@ -422,7 +420,8 @@ pub fn which_cell(x:u8, y:u8) -> u8 {
|
|
|
|
|
|
#[cfg(test)]
|
|
#[cfg(test)]
|
|
mod tests {
|
|
mod tests {
|
|
- use crate::sudoku::group::*;
|
|
|
|
|
|
+ use crate::*;
|
|
|
|
+ // use crate::sudoku::group::*;
|
|
// use crate::Group;
|
|
// use crate::Group;
|
|
// use group::*;
|
|
// use group::*;
|
|
|
|
|