Sha256: 98220677fc9f5add7df365815ff06d624e74a694db12346545833c7964f59092
Contents?: true
Size: 432 Bytes
Versions: 3
Compression:
Stored size: 432 Bytes
Contents
import { AbstractTestCase } from 'internal-test-helpers'; import { runArrayTests } from '../helpers/array'; class CopyTest extends AbstractTestCase { '@test should return an equivalent copy'() { let obj = this.newObject(); let copy = obj.copy(); this.assert.ok(this.isEqual(obj, copy), 'old object and new object should be equivalent'); } } runArrayTests('copy', CopyTest, 'CopyableNativeArray', 'CopyableArray');
Version data entries
3 entries across 3 versions & 1 rubygems