public void Test_PermutateV4_Increment_4() { var input = new List <BoundedInt> { new BoundedInt(1, 0), new BoundedInt(0, 0), new BoundedInt(0, 0) }; var expected = new List <BoundedInt> { new BoundedInt(1, 1), new BoundedInt(0, 0), new BoundedInt(0, 0) }; var actual = Permutator.Increment(input); for (var i = 0; i < 3; i++) { if (!actual[i].Equals(expected[i])) { Assert.Fail(); } } // TODO: Add your test code here Assert.Pass("Your first passing test"); }
public void Test_PermutateV4_Increment_5() { var input = new List <BoundedInt> { new BoundedInt(1, 1) }; var actual = Permutator.Increment(input); Assert.True(actual == null); }