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 CreateBrailes(string notation, string expected) { string brailles = string.Join(string.Empty, Braille.CreateBraillesFromMultipleIndexNotation(notation).Select(x => x.ToString())); Assert.AreEqual(expected, brailles); }