Ejemplo n.º 1
0
        public void ShouldNotMatchProcessorCount()
        {
            var matcher = new ProcessorCountMatcher("3") as Matcher;

            matcher.IsMatch().Should().BeFalse();
        }
Ejemplo n.º 2
0
        public void ShouldMatchProcessorCount()
        {
            var matcher = new ProcessorCountMatcher(System.Environment.ProcessorCount.ToString()) as Matcher;

            matcher.IsMatch().Should().BeTrue();
        }