Exemplo n.º 1
0
        public void BranchSize_should_return_Right()
        {
            long[] numArray = new long[] { 1, 4, 100, 5 };
            var    result   = BranchSize.Solution(numArray);

            Assert.AreEqual(result, "Right");
        }
Exemplo n.º 2
0
        public void BranchSize_should_return_empty3()
        {
            long[] numArray = new long[] { 1 };
            var    result   = BranchSize.Solution(numArray);

            Assert.AreEqual(result, "");
        }
Exemplo n.º 3
0
        public void BranchSize_should_return_Left()
        {
            long[] numArray = new long[] { 3, 6, 2, 9, -1, 10 };
            var    result   = BranchSize.Solution(numArray);

            Assert.AreEqual(result, "Left");
        }