public void TestLoadsFromResources() { // TODO: Put in loader // TODO: Test file in test project BlueprintListing.LoadAllBlueprints(); var powerPlant = BlueprintListing.GetBlueprintByLabel(Blueprints.POWER_PLANT); Assert.AreEqual("Pwr.Plnt.", powerPlant.Label); var machinegun = BlueprintListing.GetBlueprintByLabel(Blueprints.MACHINEGUN); Assert.AreEqual("Mchngn.", machinegun.Label); }
public void Initialize() { this.ent = new Entity(); this.cmp = new TestComponent(); BlueprintListing.LoadAllBlueprints(); }