Skip to content

Commit

Permalink
test(TinyNumberCompressor): add test
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberhck committed Dec 12, 2019
1 parent c0e8368 commit 18fdc97
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/adapters/TinyNumberCompressor.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import {ValueType} from "../Searilie";
import {TinyNumberCompressor} from "./TinyNumberCompressor";

describe("TinyNumberCompressor", () => {
it("PadStart should work ", () => {
expect(TinyNumberCompressor.leftPad("0", 3, "a")).toBe("aa0");
});

it("should be defined", () => {
expect(TinyNumberCompressor).toBeDefined();
});
Expand Down

0 comments on commit 18fdc97

Please sign in to comment.