Lines Matching full:strictequal
84 assert.strictEqual(monster.hp(), 120);
87 assert.strictEqual(monster.hp(), 80);
90 assert.strictEqual(manaRes, false); // Field was NOT present, because default value.
100 assert.strictEqual(monster.hp(), 80);
101 assert.strictEqual(monster.mana(), 150); // default
103 assert.strictEqual(monster.name(), 'MyMonster');
106 assert.strictEqual(pos.x(), 1);
107 assert.strictEqual(pos.y(), 2);
108 assert.strictEqual(pos.z(), 3);
109 assert.strictEqual(pos.test1(), 3);
110 assert.strictEqual(pos.test2(), MyGame.Example.Color.Green);
112 assert.strictEqual(t.a(), 5);
113 assert.strictEqual(t.b(), 6);
115 assert.strictEqual(monster.testType(), MyGame.Example.Any.Monster);
117 assert.strictEqual(monster.test(monster2) != null, true);
118 assert.strictEqual(monster2.name(), 'Fred');
120 assert.strictEqual(monster.inventoryLength(), 5);
125 assert.strictEqual(invsum, 10);
132 assert.strictEqual(invsum2, 10);
136 assert.strictEqual(monster.test4Length(), 2);
137 assert.strictEqual(test_0.a() + test_0.b() + test_1.a() + test_1.b(), 100);
139 assert.strictEqual(monster.testarrayofstringLength(), 2);
140 assert.strictEqual(monster.testarrayofstring(0), 'test1');
141 assert.strictEqual(monster.testarrayofstring(1), 'test2');
143 assert.strictEqual(monster.testbool(), false);
179 assert.strictEqual(stat != null, true);
180 assert.strictEqual(stat.val() != null, true);
181 assert.strictEqual(stat.val().toFloat64(), 2541551405100253985);
184 assert.strictEqual(mon2 != null, true);
186 assert.strictEqual(stat != null, true);
187 assert.strictEqual(stat.val() != null, true);
188 assert.strictEqual(stat.val().low, 0); // default value
189 assert.strictEqual(stat.val().high, 0);
199 assert.strictEqual(monster.name(), json.name);
201 assert.strictEqual(monster.testarrayoftablesLength(), json.testarrayoftables.length);
204 assert.strictEqual(value.name(), table.name);
207 assert.strictEqual(monster.testarrayofstringLength(), json.testarrayofstring.length);
209 assert.strictEqual(monster.testarrayofstring(i), string);
334 case 0: assert.strictEqual(!!view.getInt8(field_offset), bool_val); break;
335 case 1: assert.strictEqual(view.getInt8(field_offset), char_val); break;
336 case 2: assert.strictEqual(view.getUint8(field_offset), uchar_val); break;
337 case 3: assert.strictEqual(view.getInt16(field_offset, true), short_val); break;
338 case 4: assert.strictEqual(view.getUint16(field_offset, true), ushort_val); break;
339 case 5: assert.strictEqual(view.getInt32(field_offset, true), int_val); break;
340 case 6: assert.strictEqual(view.getUint32(field_offset, true), uint_val); break;
341 case 7: assert.strictEqual(view.getInt32(field_offset, true), long_val.low); assert.strictEqual(view.getInt32(field_offset + 4, true), long_val.high); break;
342 case 8: assert.strictEqual(view.getInt32(field_offset, true), ulong_val.low); assert.strictEqual(view.getInt32(field_offset + 4, true), ulong_val.high); break;
343 case 9: assert.strictEqual(view.getFloat32(field_offset, true), float_val); break;
344 case 10: assert.strictEqual(view.getFloat64(field_offset, true), double_val); break;