Exemplo n.º 1
0
        public void NoteWillMoveLocation_WhenTimeElapses()
        {
            int currentNoteLocation = 5;

             TimeSpan elapsedTime = TimeSpan.FromSeconds( 3 );

             Game game = new InstrumentedGame( GameConfig.DefaultGameConfig, currentNoteLocation );
             currentNoteLocation = game.MoveNote( elapsedTime );

             Assert.AreEqual( 14, currentNoteLocation );
        }