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

            GameOptions.Save("", character);
        }
Exemple #2
0
        public void TestGameOptionsSaveDoesntExist()
        {
            GameOption GameOptions = new GameOption();
            Character  character   = GameOptions.createCharacter("Warrior", "Linus", 7, false);

            GameOptions.Save("dingennzo.bin", character);
        }
Exemple #3
0
        public void TestGameOptionsSaveWithoutCharacter()
        {
            GameOption GameOptions = new GameOption();

            GameOptions.Save("Linus", null);
        }