private void AddCharAndCheck(char c, AddCharStatus expectedStatus, string expectedGrapheme) { AddCharResult res = _t.AddChar(c); Assert.That(res.Status, Is.EqualTo(expectedStatus)); if (expectedGrapheme == null) { Assert.That(res.Grapheme, Is.Null); } else { Assert.That(res.Grapheme, Is.EqualTo(expectedGrapheme)); } }
private void AddCharAndCheck(char c, AddCharStatus expectedStatus, string expectedGrapheme) { AddCharResult res = _t.AddChar(c); Assert.That(res.Status, Is.EqualTo(expectedStatus)); if (expectedGrapheme == null) { Assert.That(res.Grapheme, Is.Null); } else { Assert.That(res.Grapheme, Is.EqualTo(expectedGrapheme)); } }
internal AddCharResult(AddCharStatus status, string grapheme) : this() { Status = status; Grapheme = grapheme; }
internal AddCharResult(AddCharStatus status, string grapheme) : this() { Status = status; Grapheme = grapheme; }