예제 #1
0
        public void SortTests(int a, int b, int c, int expectedA, int expectedB, int expectedC)
        {
            Branching.Sort(ref a, ref b, ref c);
            int actualA = a;
            int actualB = b;
            int actualC = c;

            Assert.AreEqual(expectedA, actualA);
            Assert.AreEqual(expectedB, actualB);
            Assert.AreEqual(expectedC, actualC);
        }