public static void TestHome() { bool success = false; var b = new Base(null, string.Empty); var a = new Base(b, string.Empty); b.SetRun(() => success = true); Assert.AreEqual(success, false); b.Land(); Assert.AreEqual(success, true); Assert.AreEqual(b.HasRunner, false); success = false; a.Land(); Assert.AreEqual(success, false); a.Advance(); Assert.AreEqual(success, true); }