ProgressModel { public void updateProgress(final int known, final int unknown, final int unseenUnfiltered, final int unseenFiltered) { this.known.set(known); this.unknown.set(unknown); this.unseenUnfiltered.set(unseenUnfiltered); this.unseenFiltered.set(unseenFiltered); } ProgressModel(); SimpleIntegerProperty knownProperty(); SimpleIntegerProperty unknownProperty(); SimpleIntegerProperty unseenUnfilteredProperty(); NumberBinding unseenUnfilteredPercentVisibleProperty(); SimpleIntegerProperty unseenFilteredProperty(); NumberBinding markedProperty(); NumberBinding totalProperty(); NumberBinding knownPercentProperty(); NumberBinding unknownPercentProperty(); NumberBinding unseenUnfilteredPercentProperty(); NumberBinding unseenFilteredPercentProperty(); NumberBinding markedPercentVisibleProperty(); void updateProgress(final int known, final int unknown, final int unseenUnfiltered, final int unseenFiltered); void updateWord(final WordState oldState, final WordState newState);  }
@Test public void testUpdateProgress() { target.updateProgress(1, 2, 3, 4); validateBasic(1, 2, 3, 4); }
@Test public void testUpdateProgressPercent() { target.updateProgress(1, 3, 5, 7); validatePercent(6, 19, 31, 44, 44, 56); }