replace `println!`s with `assert!`s