Completed the testRookAttacks method in MasksTest.java.