@Test public void testFormCount2() { System.out.println("======== adding roots ========="); int t = suffixProvider.getFormCount(); new Tester("gitmek"); System.out.println("======== gitmek added ========="); int k = suffixProvider.getFormCount(); Assert.assertFalse(t == k); new Tester("yitmek"); System.out.println("======== yitmek added ========="); int j = suffixProvider.getFormCount(); Assert.assertEquals(k, j); }
@Test public void testForms() { for (SuffixForm form : suffixProvider.getAllForms()) { Assert.assertTrue(!(form instanceof SuffixFormTemplate)); } }
@Test public void testFormCount() { int t = suffixProvider.getFormCount(); new Tester("elma", "ekma", "armut"); Assert.assertEquals(t, suffixProvider.getFormCount()); }