Example #1
0
        public void IsInScopeExactMatchTest()
        {
            IntegerRangeScopeInterpreter target = new IntegerRangeScopeInterpreter();
            string scopeToCheck = "18";
            string scope        = "18";

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

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