public void SymbolWOBody_IdentifierRange_Out() { int line = 2; int character = 222; bool actual = SymbolUtil.PositionIsWithinSymbolIdentifier(symbolWithoutBody, defaultUri, line, character); Assert.IsFalse(actual); }
public void Identifier_Outside2() { int line = 2; int character = -1; bool actual = SymbolUtil.PositionIsWithinSymbolIdentifier(symbolWithBody, defaultUri, line, character); Assert.IsFalse(actual); }
public void Wrongfile_Identifier() { int line = 2; int character = 2; bool actual = SymbolUtil.PositionIsWithinSymbolIdentifier(symbolInAnotherFile, defaultUri, line, character); Assert.IsFalse(actual); }
public void Identifier_Inside() { int line = 2; int character = 0; bool actual = SymbolUtil.PositionIsWithinSymbolIdentifier(symbolWithBody, defaultUri, line, character); Assert.IsTrue(actual); }