public void T49Test() { T49 t49Test = new T49(); Assert.AreEqual("Brown", t49Test.Color); Assert.AreEqual("the USA", t49Test.CountryOfManufacture); Assert.AreEqual(65, t49Test.MaxSpeed); Assert.AreEqual(1300, t49Test.Armor); Assert.AreEqual(4, t49Test.CabinCrew); }
static bool Do49(T49 t) { Nullable<T49> n = new Nullable<T49>(t); return Ensure(n.HasValue && n.Value == t); }