deno.land / x / masx200_leetcode_test@10.6.5 / longest-substring-without-repeating-characters / test.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { 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);});
masx200_leetcode_test

Version Info

Tagged at
a year ago