Example #1
0
 public void GetValue()
 {
     string[] arr = { "hi", "yes", "foo  bar", "hello world" };
     Assert.AreEqual("44 444", (arrayProvider.GetValue(parser, arr) as string[])[0]);
     Assert.AreEqual("999337777", (arrayProvider.GetValue(parser, arr) as string[])[1]);
     Assert.AreEqual("333666 6660 022 2777", (arrayProvider.GetValue(parser, arr) as string[])[2]);
     Assert.AreEqual("4433555 555666096667775553", (arrayProvider.GetValue(parser, arr) as string[])[3]);
 }