예제 #1
0
        public void RuleScopeComparerTest()
        {
            IntegerRangeScopeInterpreter       target = new IntegerRangeScopeInterpreter(); // TODO: Initialize to an appropriate value
            IComparer <ConflictResolutionRule> actual;

            actual = target.RuleScopeComparer;
        }
예제 #2
0
        public void IsInScopeExactMatchTest()
        {
            IntegerRangeScopeInterpreter target = new IntegerRangeScopeInterpreter();
            string scopeToCheck = "18";
            string scope        = "18";

            Assert.IsTrue(target.IsInScope(scopeToCheck, scope));
        }
예제 #3
0
        public void IsInScopeInCompleteTest()
        {
            IntegerRangeScopeInterpreter target = new IntegerRangeScopeInterpreter();
            string scopeToCheck = "18";
            string scope        = "12-";

            Assert.IsFalse(target.IsInScope(scopeToCheck, scope));
        }