Example #1
0
        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);
        }
Example #2
0
        public void CreateBrailes(string notation, string expected)
        {
            string brailles = string.Join(string.Empty,
                                          Braille.CreateBraillesFromMultipleIndexNotation(notation).Select(x => x.ToString()));

            Assert.AreEqual(expected, brailles);
        }