public void Create_plan() { string planname = "Go big!"; PlanIdent plan = new PlanIdent(planname); Assert.IsNotNull(plan); Assert.IsTrue(plan is Identity ident); Assert.AreEqual(planname, plan.BasicName); Assert.IsTrue(plan.IsPlan); Assert.AreEqual(0, plan.Number); Assert.AreNotEqual(plan.Name, plan.BasicName); Assert.IsTrue(plan.Matches(planname)); Assert.IsTrue(plan.Matches("Go big")); Assert.IsTrue(plan.Matches("GO BIG!")); Assert.IsTrue(plan.Matches("gobig")); Assert.AreEqual(plan.Name, plan.ToString()); }
public void Create_plan_empty() { PlanIdent plan = new PlanIdent(""); }
public void Create_plan_null() { PlanIdent plan = new PlanIdent(null); }