Example #1
0
        public void SortIncrease_WhenABCPassed_ShouldSortIncrease(int a, int b, int c, int expectedA, int expectedB, int expectedC)
        {
            Branching.SortIncrease(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);
        }