public void ShouldNotMatchProcessorCount() { var matcher = new ProcessorCountMatcher("3") as Matcher; matcher.IsMatch().Should().BeFalse(); }
public void ShouldMatchProcessorCount() { var matcher = new ProcessorCountMatcher(System.Environment.ProcessorCount.ToString()) as Matcher; matcher.IsMatch().Should().BeTrue(); }