AchievementTests ClassDelta Engine Documentation
Inheritance Hierarchy

System Object
  DeltaEngine.GameLogic.Tests AchievementTests

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

public class AchievementTests

The AchievementTests type exposes the following members.

Constructors

  NameDescription
Public methodAchievementTests
Initializes a new instance of the AchievementTests class
Top
Methods

  NameDescription
Public methodTestAchievement
Top
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