Exemplo n.º 1
0
        public void IsInScopeExactMatchTest()
        {
            IntegerRangeScopeInterpreter target = new IntegerRangeScopeInterpreter();
            string scopeToCheck = "18";
            string scope        = "18";

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

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