public void SetInnerScope_SetsInnerRightScopePropertyToRightScope2()
 {
     scope = new Scope("defge");
     scope.DefineInnerScope(2, 1);
     Scope rightScopeWithCorrectProperties = new Scope("ge", 3);
     rightScopeWithCorrectProperties.IsExplicit = false;
     Assert.IsTrue(rightScopeWithCorrectProperties.Equals(scope.InnerRightScope));
 }
 public void SetInnerScope_SetsInnerLeftScopePropertyToLeftScope2()
 {
     scope = new Scope("defg");
     scope.DefineInnerScope(2, 1);
     Scope leftScopeWithCorrectProperties = new Scope("de", 0);
     leftScopeWithCorrectProperties.IsExplicit = false;
     Assert.IsTrue(leftScopeWithCorrectProperties.Equals(scope.InnerLeftScope));
 }
 public void SetInnerScope_SetsInnerRightScopePropertyToRightScope()
 {
     scope = new Scope("abc");
     scope.DefineInnerScope(1, 1);
     Scope rightScopeWithCorrectProperties = new Scope("c", 2, false);
     Assert.IsTrue(rightScopeWithCorrectProperties.Equals(scope.InnerRightScope));
 }
 public void SetInnerScope_SetsInnerLeftScopePropertyToLeftScope()
 {
     scope = new Scope("abc", 0, true);
     scope.DefineInnerScope(1, 1);
     Scope leftScopeWithCorrectProperties = new Scope("a", 0, false);
     Assert.IsTrue(leftScopeWithCorrectProperties.Equals(scope.InnerLeftScope));
 }