public void TestToString()
        {
            GameSecret secret = new GameSecret()
            {
                TargetGame   = Game.Ages,
                GameID       = 14129,
                Hero         = "Link",
                Child        = "Pip",
                Animal       = Animal.Dimitri,
                Behavior     = ChildBehavior.BouncyD,
                IsLinkedGame = true,
                IsHeroQuest  = false
            };

            Assert.AreEqual(DesiredSecretString, secret.ToString());
        }
Esempio n. 2
0
        public void TestToString_JP()
        {
            string secret = DesiredSecret_JP.ToString();

            Assert.AreEqual(desiredSecretString_JP, secret);
        }
Esempio n. 3
0
        public void TestToString()
        {
            GameSecret secret = new GameSecret() {
                TargetGame = Game.Ages,
                GameID = 14129,
                Hero = "Link",
                Child = "Pip",
                Animal = Animal.Dimitri,
                Behavior = ChildBehavior.BouncyD,
                IsLinkedGame = true,
                IsHeroQuest = false
            };

            Assert.AreEqual(DesiredSecretString, secret.ToString());
        }