コード例 #1
0
        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);
        }
コード例 #2
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);
        }
コード例 #3
0
        public void WordSplitTest(string testStr, string expected)
        {
            var actual = new Jumjaro.Jumjaro().ToJumja(testStr);

            Assert.AreEqual(expected, actual);
        }