public void EntityStatsCreateWithValues() { try { IEntityStats stats = new EntityStats(statValues); Assert.AreEqual(stats.Get(StatType.Strength), 1.0f); Assert.AreEqual(stats.Get(StatType.Stamina), 2.0f); Assert.AreEqual(stats.Get(StatType.Wisdom), 3.0f); Assert.AreEqual(stats.Get(StatType.Inteligence), 4.0f); Assert.AreEqual(stats.Get(StatType.Charisma), 5.0f); Assert.AreEqual(stats.Get(StatType.Constitution), 6.0f); Assert.AreEqual(stats.Get(StatType.Luck), 7.0f); Assert.AreEqual(stats.Get(StatType.Dexterity), 8.0f); } catch { Assert.Fail(); } }