예제 #1
0
        public void BetweenTest2()
        {
            int        expected = 2;
            List <int> a        = new List <int> {
                2, 6
            };
            List <int> b = new List <int> {
                24, 36
            };
            int actual = BetweenArrays.GetTotalX(a, b);

            Assert.Equal(expected, actual);
        }
예제 #2
0
        public void BetweenTest1()
        {
            int        expected = 3;
            List <int> a        = new List <int> {
                2, 4
            };
            List <int> b = new List <int> {
                16, 32, 96
            };
            int actual = BetweenArrays.GetTotalX(a, b);

            Assert.Equal(expected, actual);
        }