AchievementTests TestAchievement Method Delta Engine Documentation

Namespace: DeltaEngine.GameLogic.Tests
Assembly: DeltaEngine.GameLogic.Tests (in DeltaEngine.GameLogic.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void TestAchievement()
Examples

[Test]
public void TestAchievement()
{
    var achievement = new Achievement(Name, Description);
    Assert.AreEqual(Name, achievement.Name);
    Assert.AreEqual(Description, achievement.Description);
    Assert.IsFalse(achievement.IsAchieved);
}
See Also