Exemplo n.º 1
0
        public void SelectByValidSelectorWorks()
        {
            var expected = new[] { "Windows XP SP2", "Windows Server 2003 SP1", "general availability" };
            var actual   = validSelector.Select(validResource).Select(r => r.AsString());

            Assert.Equal(expected, actual);
        }
Exemplo n.º 2
0
        public void SelectByNotMatchingSelectorReturnsEmptySequence()
        {
            var actual = notMatchingSelector.Select(validResource).Select(r => r.AsString());

            Assert.Empty(actual);
        }