コード例 #1
0
        public void FilterCoverageDoesNotReturnCoverageWhenReduced()
        {
            NetworkCoverage coverage = new NetworkCoverage();

            coverage.IsTimeDependent = true;
            //fix the coverage on a location so we have a funtion with only one argument...time.
            var filtered = coverage.Filter(new VariableReduceFilter(coverage.Locations));

            Assert.IsFalse(filtered is INetworkCoverage);
        }
コード例 #2
0
 public void FilterCoverageDoesNotReturnCoverageWhenReduced()
 {
     NetworkCoverage coverage = new NetworkCoverage();
     coverage.IsTimeDependent = true;
     //fix the coverage on a location so we have a funtion with only one argument...time.
     var filtered = coverage.Filter(new VariableReduceFilter(coverage.Locations));
     Assert.IsFalse(filtered is INetworkCoverage);
 }