@Test public void testCompatibilityContinueOther() { Assert.assertFalse(codec.areOutcomesCompatible(new String[] {A_CONTINUE, OTHER})); Assert.assertFalse(codec.areOutcomesCompatible(new String[] {B_START, A_CONTINUE, OTHER})); }
@Test public void testCompatibilitySingleContinue() { Assert.assertFalse(codec.areOutcomesCompatible(new String[] {A_CONTINUE})); Assert.assertFalse(codec.areOutcomesCompatible(new String[] {B_START, A_CONTINUE})); }
@Test public void testCompatibilityMultiClass() { Assert.assertTrue(codec.areOutcomesCompatible( new String[] {A_START, A_CONTINUE, B_START, OTHER})); }
@Test public void testCompatibilityRepeated() { Assert.assertTrue(codec.areOutcomesCompatible( new String[] {A_START, A_START, A_CONTINUE, A_CONTINUE, B_START, B_START, OTHER, OTHER})); }
@Test public void testCompatibilityEmpty() { Assert.assertFalse(codec.areOutcomesCompatible(new String[] {})); }
@Test public void testCompatibilitySingleOther() { Assert.assertFalse(codec.areOutcomesCompatible(new String[] {OTHER})); }
@Test public void testCompatibilityBadTag() { Assert.assertFalse(codec.areOutcomesCompatible(new String[] {A_START, A_CONTINUE, "BAD"})); }
@Test public void testCompatibilitySingleStart() { Assert.assertTrue(codec.areOutcomesCompatible(new String[] {A_START})); }
@Test public void testCompatibilityStartContinue() { Assert.assertTrue(codec.areOutcomesCompatible(new String[] {A_START, A_CONTINUE})); }
@Test public void testCompatibilityStartOther() { Assert.assertTrue(codec.areOutcomesCompatible(new String[] {A_START, OTHER})); }
@Test public void testCompatibilityStartContinueOther() { Assert.assertTrue(codec.areOutcomesCompatible(new String[] {A_START, A_CONTINUE, OTHER})); }