Skip to content

Commit 2ed1d0e

Browse files
committed
Update
1 parent bc0c8db commit 2ed1d0e

5 files changed

Lines changed: 4 additions & 4 deletions

File tree

TestProject/BallTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ public void BallTests()
2121
_ballsManager.UpdateBallStatus(0, 20, 30);
2222
Assert.AreEqual(_ballsManager.GetBall(0).X, 20);
2323
Assert.AreEqual(_ballsManager.GetBall(0).Y, 30);
24-
25-
Random random = new Random();
26-
_ballsManager.CreateNewBall(random.Next(1127) + 25, random.Next(404) + 25, 25);
24+
25+
Random random = new Random();
26+
_ballsManager.CreateNewBall(random.Next(1127) + 25, random.Next(404) + 25, 25);
2727
//czy kula powstanie w prawid³owym obszarze(wymiary odpowiadaj¹ce scenie)
2828
Assert.IsTrue(_ballsManager.GetBall(1).X > 0 && _ballsManager.GetBall(1).X < 1190);
29-
Assert.IsTrue(_ballsManager.GetBall(1).Y > 0 && _ballsManager.GetBall(1).X < 474);
29+
Assert.IsTrue(_ballsManager.GetBall(1).Y > 0 && _ballsManager.GetBall(1).Y < 474);
3030

3131

3232
}
0 Bytes
Binary file not shown.
40 Bytes
Binary file not shown.
512 Bytes
Binary file not shown.
88 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)