deno.land / x / masx200_leetcode_test@10.6.5 / longest-substring-without-repeating-characters / test.ts
1234567891011121314import { assertEquals } from "https://deno.land/std@0.157.0/testing/asserts.ts";
import lengthOfLongestSubstring from "./index.ts";
Deno.test("longest-substring-without-repeating-characters", () => { assertEquals(lengthOfLongestSubstring("abcabcbb"), 3);});Deno.test("longest-substring-without-repeating-characters", () => { assertEquals(lengthOfLongestSubstring("pwwkew"), 3);});Deno.test("longest-substring-without-repeating-characters", () => { assertEquals(lengthOfLongestSubstring("bbbbb"), 1);});
Version Info