deno.land / x / masx200_leetcode_test@10.6.5 / multiply-strings / test.ts

نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import { assertEquals } from "https://deno.land/std@0.157.0/testing/asserts.ts";
import multiply from "./index.ts";
Deno.test("multiply-strings", () => { assertEquals( [ "6", "56088",
"11999999999999599999999999970000000000001", "813827160493824652888888888888888857283950617284048", ], [ ["2", "3"], ["123", "456"], ["29999999999999", "399999999999999999999999999"], ["17777777777777723", "45777777777777777777777777777777776"], ].map(([x, y]) => multiply(x, y)), );});
masx200_leetcode_test

Version Info

Tagged at
a year ago