mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-14 15:56:38 +03:00
7e6a0f38ff
This corrects/normalizes license headers in misc. files, such as config files, docs, build tools, tests, and externs. This does not affect the compiled output, and is only done for consistency. Issue #2638 Change-Id: I9d8da2de55243b08d7df2b743aac73c6f15e858a
23 lines
556 B
JavaScript
23 lines
556 B
JavaScript
/*! @license
|
|
* Shaka Player
|
|
* Copyright 2016 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
describe('Uint8Array', () => {
|
|
it('checks equality', () => {
|
|
const subject = new Uint8Array([0, 1, 2, 3]);
|
|
const same = new Uint8Array([0, 1, 2, 3]);
|
|
const different = new Uint8Array([4, 5, 6, 7]);
|
|
|
|
expect(subject).toBe(subject);
|
|
expect(subject).toEqual(subject);
|
|
|
|
expect(subject).not.toBe(same);
|
|
expect(subject).toEqual(same);
|
|
|
|
expect(subject).not.toBe(different);
|
|
expect(subject).not.toEqual(different);
|
|
});
|
|
});
|