Skip to content

Commit

Permalink
(#26) Tests: put the player in the middle of the level for bubble tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ForNeVeR committed Aug 17, 2024
1 parent 66ed3ca commit a67ef45
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions O21.Tests/GameEngineTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ module O21.Tests.GameEngineTests

open O21.Game.U95
open O21.Game.U95.Parser
open System
open Xunit

open O21.Game.Engine
Expand Down Expand Up @@ -90,8 +89,7 @@ module ParticleSystem =

[<Fact>]
let ``Generator create particles by period``(): unit =
let gameEngine = newEngine
let gameEngine = { gameEngine with GameEngine.Player.TopLeft = Point(0, Int32.MaxValue) }
let gameEngine = { newEngine with GameEngine.Player.TopLeft = Point(50, 50) }
let frameUp = frameUp timeZero
let gameEngine = frameUp gameEngine
let period = gameEngine.ParticlesSource.Period
Expand Down

0 comments on commit a67ef45

Please sign in to comment.