Skip to content

Commit

Permalink
[bytes] edit test cases to fail
Browse files Browse the repository at this point in the history
  • Loading branch information
arcatdmz committed May 5, 2019
1 parent 2ad643d commit fe9d5b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bytes/bytes_test.ts
Expand Up @@ -9,15 +9,15 @@ import { assertEquals } from "../testing/asserts.ts";

test(function bytesBytesFindIndex(): void {
const i = bytesFindIndex(
new Uint8Array([1, 2, 0, 1, 2, 0, 1, 2, 0, 1, 3]),
new Uint8Array([0, 1, 0, 1, 2, 0, 1, 2, 0, 1, 3]),
new Uint8Array([0, 1, 2])
);
assertEquals(i, 2);
});

test(function bytesBytesFindLastIndex1(): void {
const i = bytesFindLastIndex(
new Uint8Array([0, 1, 2, 0, 1, 2, 0, 1, 3]),
new Uint8Array([0, 1, 2, 0, 1, 2, 1, 2]),
new Uint8Array([0, 1, 2])
);
assertEquals(i, 3);
Expand Down

0 comments on commit fe9d5b4

Please sign in to comment.