cotton

SQL Database Toolkit for Deno

https://github.com/rahmanfadhil/cotton
import { range } from "./number.ts";
import { assertEquals } from "../../testdeps.ts";

Deno.test("range: should return a correct array", () => {
  assertEquals(range(5, 10), [5, 6, 7, 8, 9, 10]);
  assertEquals(range(7, 14), [7, 8, 9, 10, 11, 12, 13, 14]);
});