Exemplo n.º 1
0
        public void FourthTest()
        {
            dynamic a = new ExpandoObject();

            a.Length = 5;
            Assert.AreEqual(5, KataGetLength.GetLength(a));
        }
Exemplo n.º 2
0
        public void SecondTest()
        {
            string a = "abcde";

            Assert.AreEqual(5, KataGetLength.GetLength(a));
        }
Exemplo n.º 3
0
 public void FirstTest()
 {
     int[] a = new int[] { 1, 2, 3, 4, 5 };
     Assert.AreEqual(5, KataGetLength.GetLength(a));
 }