public void Test_PermutateV4_GenerateIndices() { var input = new List <List <Slot> > { new List <Slot> { new Slot() }, new List <Slot> { new Slot(), new Slot() }, new List <Slot> { new Slot(), new Slot(), new Slot() } }; var actual = Permutator.GenerateIndices(input); var expected = new List <BoundedInt> { new BoundedInt(0, 0), new BoundedInt(1, 0), new BoundedInt(2, 0) }; for (var i = 0; i < 3; i++) { if (!actual[i].Equals(expected[i])) { Assert.Fail(); } } Assert.Pass(); }