Select Git revision
-
Michael Hauspie authoredMichael Hauspie authored
main.rs 438 B
mod board;
use board::tictactoe::TicTacToe;
fn main() {
let board = TicTacToe::new();
board.display();
}
// Will only be build in 'test' configuration
#[cfg(test)]
// A module where the tests are located, more on modules later
mod tests {
#[test]
fn should_pass() {
assert!(true);
}
#[test]
#[should_panic]
fn should_panic() {
panic!("Doing wrong things on purpose here!");
}
}