Example #1
0
        protected internal virtual void assertThatDecisionHasResult(DmnDecisionResult decisionResult, object expectedValue)
        {
            assertThat(decisionResult, @is(notNullValue()));
            assertThat(decisionResult.size(), @is(1));
            string value = decisionResult.SingleResult.FirstEntry;

            assertThat(value, @is(expectedValue));
        }
Example #2
0
        public virtual void testEmptyMap()
        {
            startTestProcess("empty map");

            assertEquals(2, results.size());

            foreach (DmnDecisionResultEntries output in results)
            {
                assertTrue("The decision output should be empty", output.Empty);
            }
        }