コード例 #1
0
        public void TestOneEntrySource()
        {
            var function = new JoinFunction();

            Assert.That(function.Evaluate(OneEntryString, "-"), Is.EqualTo("one"));
        }
コード例 #2
0
        public void TestFilledEntrySourceNullSeperator()
        {
            var function = new JoinFunction();

            Assert.That(function.Evaluate(FilledString, null), Is.EqualTo("onetwothree"));
        }
コード例 #3
0
        public void TestNullSource()
        {
            var function = new JoinFunction();

            Assert.That(function.Evaluate(NullString, "-"), Is.EqualTo(""));
        }
コード例 #4
0
        public void TestFilledEntrySource()
        {
            var function = new JoinFunction();

            Assert.That(function.Evaluate(FilledString, "-"), Is.EqualTo("one-two-three"));
        }