@Test
public void testCreateMarkovMatrix1()
{
MarkovUniversalLearner m = new MarkovUniversalLearner(2);
Set<List<Label>> plusStrings = buildSet(new String[][] { new String[]{"a","b","c"}, new String[]{"a","b"}, new String[]{"a","d","c"}},config,converter), minusStrings = buildSet(new String[][] { new String[]{"a","b","c","d"}, new String[]{"a","u"} },config,converter);
Map<Trace, UpdatableOutcome> matrix = m.createMarkovLearner(plusStrings, minusStrings);
Assert.assertEquals(11,matrix.size());
Assert.assertSame(UpdatableOutcome.negative, matrix.get(new Trace(Arrays.asList(new Label[]{lblA,lblU}))));
Assert.assertSame(UpdatableOutcome.positive, matrix.get(new Trace(Arrays.asList(new Label[]{lblD,lblC}))));