svoid test_AutoClassifier1() { AutoClassifier1 c = new(S); assertEmpty(c.confidentlyPredictedLabelsForObject("hello")); c.learn("hello", "5 chars"); c.learn("bla", "not 5 chars"); assertEqualsIC("5 chars", joinWithComma(c.confidentlyPredictedLabelsForObject("world"))); assertEqualsIC("not 5 chars", joinWithComma(c.confidentlyPredictedLabelsForObject("......"))); }