public void ToJumjaTestWithBrailleASCII(string testStr, string expectedBrailleASCII) { string expected = string.Join(string.Empty, Braille.CreateBrailesFromBrailleASCIICode(expectedBrailleASCII).Select(x => x.ToString())); string actual = new Jumjaro.Jumjaro().ToJumja(testStr); Assert.AreEqual(expected, actual); }
public void ToJumjaTestWithIndexNotaion(string testStr, string expectedIndexNotation) { string expected = string.Join(string.Empty, Braille.CreateBraillesFromMultipleIndexNotation(expectedIndexNotation).Select(x => x.ToString())); string actual = new Jumjaro.Jumjaro().ToJumja(testStr); Assert.AreEqual(expected, actual); }
public void WordSplitTest(string testStr, string expected) { var actual = new Jumjaro.Jumjaro().ToJumja(testStr); Assert.AreEqual(expected, actual); }