public void CountBlockTilesTest() { var program = File.ReadAllText("Game.txt"); var arcadeCabinet = new ArcadeCabinet(program); arcadeCabinet.Play(); Assert.Equal(329, arcadeCabinet.BlockTilesCount); }
public void HighScoreTest() { var program = File.ReadAllText("Game.txt"); var arcadeCabinet = new ArcadeCabinet(program, true); arcadeCabinet.Play(); Assert.Equal(15973, arcadeCabinet.Score); }