Lines Matching refs:obj2
184 var obj2 = new f(1,2,3);
185 assertEquals(1, obj2.x);
186 assertEquals(2, obj2.y);
187 assertEquals(3, obj2.z);
190 obj2 = new f(2,3);
191 assertEquals(1, obj2.x);
192 assertEquals(2, obj2.y);
193 assertEquals(3, obj2.z);
196 obj2 = new f(3);
197 assertEquals(1, obj2.x);
198 assertEquals(2, obj2.y);
199 assertEquals(3, obj2.z);
202 obj2 = new f();
203 assertEquals(1, obj2.x);
204 assertEquals(2, obj2.y);
205 assertEquals(3, obj2.z);
210 obj2 = new f();
211 assertEquals(1, obj2.x);
212 assertEquals(2, obj2.y);
213 assertEquals(3, obj2.z);
215 // Test obj2 is instanceof both bar and f.
216 assertTrue(obj2 instanceof bar);
217 assertTrue(obj2 instanceof f);