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); }
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); }