コード例 #1
0
        public void SymbolWOBody_IdentifierRange_Out()
        {
            int  line      = 2;
            int  character = 222;
            bool actual    = SymbolUtil.PositionIsWithinSymbolIdentifier(symbolWithoutBody, defaultUri, line, character);

            Assert.IsFalse(actual);
        }
コード例 #2
0
        public void Identifier_Outside2()
        {
            int  line      = 2;
            int  character = -1;
            bool actual    = SymbolUtil.PositionIsWithinSymbolIdentifier(symbolWithBody, defaultUri, line, character);

            Assert.IsFalse(actual);
        }
コード例 #3
0
        public void Wrongfile_Identifier()
        {
            int  line      = 2;
            int  character = 2;
            bool actual    = SymbolUtil.PositionIsWithinSymbolIdentifier(symbolInAnotherFile, defaultUri, line, character);

            Assert.IsFalse(actual);
        }
コード例 #4
0
        public void Identifier_Inside()
        {
            int  line      = 2;
            int  character = 0;
            bool actual    = SymbolUtil.PositionIsWithinSymbolIdentifier(symbolWithBody, defaultUri, line, character);

            Assert.IsTrue(actual);
        }