Exemplo n.º 1
0
        public void MinInColumnTest()
        {
            int[,] weights = GenerateMatrixWithValue(sizeN: 4, value: Infinity);
            weights[1, 0]  = 5;
            weights[3, 0]  = 6;

            int actual   = BranchAndBound.MinInColumn(weights, 0);
            int expected = 5;

            Assert.Equal(expected, actual);
        }