public void Test1D() { string[] a = new string[] { "0 <-> 1, 2, 3, 4, 5, 6, 7, 8, 9", }; Assert.AreEqual(10, Dec12.CountInGroup(a, 0)); }
public void Test1C() { string[] a = new string[] { "0 <-> 1", "1 <-> 2", "2 <-> 3", "4 <-> 5", "6 <-> 5", "3 <-> 4", }; Assert.AreEqual(7, Dec12.CountInGroup(a, 0)); }
public void Test1B() { string[] a = new string[] { "0 <-> 2", "1 <-> 1", "5 <-> 6", "6 <-> 4, 5", "2 <-> 0, 3, 4", "3 <-> 2, 4", "4 <-> 2, 3, 6" }; Assert.AreEqual(6, Dec12.CountInGroup(a, 0)); }