public void FourthTest() { dynamic a = new ExpandoObject(); a.Length = 5; Assert.AreEqual(5, KataGetLength.GetLength(a)); }
public void SecondTest() { string a = "abcde"; Assert.AreEqual(5, KataGetLength.GetLength(a)); }
public void FirstTest() { int[] a = new int[] { 1, 2, 3, 4, 5 }; Assert.AreEqual(5, KataGetLength.GetLength(a)); }