Lines Matching refs:equal
73 expect(globalScope, "root is null!").to.not.equal(null);
75 …expect(globalScope.getChildVariableScope().length, "should not have any children!").to.be.equal(0);
76 … expect(globalScope.getParentVariableScope(), "should not have any children!").to.be.equal(null);
105 expect(children.length, "should have 2 child!").to.be.equal(2);
106 expect(parent, "should not have any children!").to.be.equal(null);
107 … expect(bindingNode, "functionblock.root should equal to sourceFile").to.be.deep.equal(sourceFile);
114 expect(parentOfSon0, "son's parent should equal root!").deep.equal(globalScope);
115 …expect(bindingNodeOfSon0.kind, "son's parent should equal root!").deep.equal(ts.SyntaxKind.Functio…
121 expect(parentOfGrandson0).to.be.equal(son0);
122 expect(grandgrandchiildren0.length).to.be.equal(0);
123 …expect(bindingNodeOfGrandson0.kind, "grandson0's parent should equal son0!").deep.equal(ts.SyntaxK…
126 expect(grandson1.getParentVariableScope()).to.be.equal(son0);
127 expect(grandson1.getChildVariableScope().length).to.be.equal(0);
128 …on1.getBindingNode()).kind, "grandson1's parent should equal son0!").deep.equal(ts.SyntaxKind.Func…
135 expect(parentOfSon1, "son1's parent should equal root!").deep.equal(globalScope);
136 …expect(bindingNodeOfSon1.kind, "son1's parent should equal root!").deep.equal(ts.SyntaxKind.Functi…
151 expect(postOrderVariableScopes[0]).to.be.deep.equal(globalScope);
176 expect(postOrderVariableScopes[0]).to.be.deep.equal(children[0].getChildVariableScope()[0]);
177 expect(postOrderVariableScopes[1]).to.be.deep.equal(children[0].getChildVariableScope()[1]);
178 expect(postOrderVariableScopes[2]).to.be.deep.equal(children[0]);
179 expect(postOrderVariableScopes[3]).to.be.deep.equal(children[1]);
180 expect(postOrderVariableScopes[4]).to.be.deep.equal(globalScope);
231 expect(postOrderVariableScopes[0]).to.be.deep.equal(children[0]);
232 … expect(postOrderVariableScopes[1]).to.be.deep.equal(grandchildren1[0].getChildVariableScope()[0]);
233 … expect(postOrderVariableScopes[2]).to.be.deep.equal(grandchildren1[0].getChildVariableScope()[1]);
234 expect(postOrderVariableScopes[3]).to.be.deep.equal(grandchildren1[0]);
235 expect(postOrderVariableScopes[4]).to.be.deep.equal(children[1]);
236 expect(postOrderVariableScopes[5]).to.be.deep.equal(globalScope);
415 expect(scope.getNumLexEnv(), "main scope has 0 lexvar").to.be.equal(0);
420 expect(scope.getNumLexEnv(), "func scope has 1 lexvar").to.be.equal(0);
495 …pect((<FunctionScope>outerScope).getNumLexEnv(), "number of lexvar at outer scope").to.be.equal(2);
500 expect(searchRlt!.level).to.be.equal(0);
501 expect(searchRlt!.scope, "a is defined in outerscope").to.be.deep.equal(outerScope);