public void Test8() { int[] array = { 1, 0, 1, 1, 1 }; Assert.Equal(0, Coding006.MinForBinary(array)); Assert.Equal(0, Coding006.MinForSimple(array)); }
public void Test6() { int[] array = { 2, 1 }; Assert.Equal(1, Coding006.MinForBinary(array)); Assert.Equal(1, Coding006.MinForSimple(array)); }
public void Test7() { int[] array = { 3, 4, 5, 2, 2, 2 }; Assert.Equal(2, Coding006.MinForBinary(array)); Assert.Equal(2, Coding006.MinForSimple(array)); }
public void Test3() { int[] array = { 1, 2, 3, 4, 5 }; Assert.Equal(1, Coding006.MinForBinary(array)); Assert.Equal(1, Coding006.MinForSimple(array)); }