コード例 #1
0
 public void SetSmallPuzzlesLocationTest()
 {
     SetSmallPuzzlesLocation setSmallPuzzles = new SetSmallPuzzlesLocation();
     puzzles[0].rightPuzzle = new Puzzle();
     setSmallPuzzles.SetRightPuzzleLocation(puzzles[0]);
     Puzzle rightPuzzle = puzzles[0].rightPuzzle;
     Assert.AreEqual(rightPuzzle.Location.X, puzzles[0].Location.X + puzzles[0].Size.Width);
 }