예제 #1
0
        public void TestGameOptionsLoadWithoutPath()
        {
            GameOption GameOptions = new GameOption();
            Character  character   = GameOptions.createCharacter("Warrior", "Linus", 7, false);

            GameOptions.Load("", character);
        }
예제 #2
0
        public void TestGameOptionsLoadPathIsNull()
        {
            GameOption GameOptions = new GameOption();
            Character  character   = GameOptions.createCharacter("Warrior", "Linus", 7, false);

            GameOptions.Load(null, character);
        }
예제 #3
0
        public void TestGameOptionsLoadDoesntExist()
        {
            GameOption GameOptions = new GameOption();
            Character  character   = GameOptions.createCharacter("Warrior", "Linus", 7, false);

            GameOptions.Load("dingennzo.bin", character);
        }