public void SimpleAssimilationTest() { var input = "입니다"; var expected = "임니다"; var actual = DecomposeHangul.ComposeHangul(Assimilation.AssimilateLong(DecomposeHangul.Decompose(input))); Assert.Equal(expected, actual); }
string DrawAssimilationPair(bool allPairs) { string pair; do { pair = DrawPair(); } while (!Assimilation.HasAssimilation(pair) && !allPairs); return(pair); }
protected override string GetSolution(string input) => Assimilation.Assimilate(input);