public void SymbolWOBody_TotalRange_Out() { int line = 2; int character = 222; bool actual = SymbolUtil.PositionIsWithinSymbolTotalRange(symbolWithoutBody, defaultUri, line, character); Assert.IsFalse(actual); }
public void TotalRange_Outside2() { int line = 7; int character = 0; bool actual = SymbolUtil.PositionIsWithinSymbolTotalRange(symbolWithBody, defaultUri, line, character); Assert.IsFalse(actual); }
public void Wrongfile_totalRange() { int line = 2; int character = 2; bool actual = SymbolUtil.PositionIsWithinSymbolTotalRange(symbolInAnotherFile, defaultUri, line, character); Assert.IsFalse(actual); }
public void TotalRange_Inside1() { int line = 3; int character = 0; bool actual = SymbolUtil.PositionIsWithinSymbolTotalRange(symbolWithBody, defaultUri, line, character); Assert.IsTrue(actual); }