Skip to main content
Go to Latest
File
import { assertEquals } from "https://deno.land/std@0.155.0/testing/asserts.ts";
import makeLargestSpecial from "./index.ts";
Deno.test("special-binary-string", () => { const inputs = ["11011000", "10"]; const outputs = ["11100100", "10"]; assertEquals(outputs, inputs.map(makeLargestSpecial));});