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