Ejemplo n.º 1
0
        public void IsDevoted_NoDeity_Test()
        {
            PlayerInstance pch = new PlayerInstance(1, "TestChar")
            {
                PlayerData = new PlayerData(1, 1)
            };

            Assert.That(pch.IsDevoted(), Is.False);
        }
Ejemplo n.º 2
0
        public void IsDevoted_Test()
        {
            PlayerInstance pch = new PlayerInstance(1, "TestChar")
            {
                PlayerData = new PlayerData(1, 1)
                {
                    CurrentDeity = new DeityData(1, "Test")
                }
            };

            Assert.That(pch.IsDevoted(), Is.True);
        }