Ejemplo n.º 1
0
 private void AssertOrderCapability(UnionIndexCapability union, params IndexOrder[] expected)
 {
     IndexOrder[] actual = union.OrderCapability(SomeValueCategory());
     assertTrue("Actual contains all expected", ArrayUtil.containsAll(expected, actual));
     assertTrue("Actual contains nothing else than expected", ArrayUtil.containsAll(actual, expected));
 }
Ejemplo n.º 2
0
        private void AssertValueCapability(UnionIndexCapability union, IndexValueCapability expectedValueCapability)
        {
            IndexValueCapability actual = union.ValueCapability(SomeValueCategory());

            assertEquals(expectedValueCapability, actual);
        }