public void TestDepthN() { IntCStringIntIntPC root = GetRoot(); NotActivated(root.Value.Value.First.Value.Value.First); Assert.IsFalse(root.Value.Value.First.Value.Value.First.Value.HasValue); Assert.AreEqual(new StringIntP("foo", 11), root.Value.Value.First.Value.Value.Second); }
public void TestDepthN() { IntCStringIntIntPC root = GetRoot(); ValueTypeActivationTestCase.NotActivated(root.Value.First.Value.First); Assert.AreEqual(21, root.Value.First.Value.First.Value); Assert.AreEqual(new StringIntP("foo", 11), root.Value.First.Value.Second); }
public void TestDepth1() { IntCStringIntIntPC root = GetRoot(); Assert.AreEqual("root", root.Name, "ta"); Assert.IsNotNull(root.Value.Value.First, "ta"); Assert.AreEqual(42, root.Value.Value.Second, "ta"); NotActivated(root.Value.Value.First); }
public void TestDepth1() { IntCStringIntIntPC root = GetRoot(); Assert.AreEqual("root", root.Name, "root.Name"); Assert.IsNotNull(root.Value.First, "root.Value.First"); Assert.AreEqual(42, root.Value.Second, "root.Value.Second"); ValueTypeActivationTestCase.NotActivated(root.Value.First); }
public void TestDepth0() { IntCStringIntIntPC root = GetRoot(); NotActivated(root); }
public void TestDepth0() { IntCStringIntIntPC root = GetRoot(); ValueTypeActivationTestCase.NotActivated(root); }