Exemple #1
0
        public void MixedDistinctSplits_CreateDistinctElements()
        {
            var tk = new vcal.Parser.Tokenizer(new[] { "!", "=>" });

            var result = tk.Tokenize("This!is=>ATest").ToArray();

            Assert.AreEqual(result.Length, 5);
        }
Exemple #2
0
        public void SingleSignSplits_CreateDistinctElements()
        {
            var tk = new vcal.Parser.Tokenizer(new[] { " ", "." });

            var result = tk.Tokenize("This is.ATest").ToArray();

            Assert.AreEqual(result.Length, 5);
        }