deno.land / std@0.224.0 / assert / assert_less_test.ts

assert_less_test.ts
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.import { assertLess, assertThrows } from "./mod.ts";
Deno.test("assertLess", () => { assertLess(1, 2); assertLess(1n, 2n); assertLess(1, 1.1);
assertThrows(() => assertLess(2, 1));});
std

Version Info

Tagged at
3 weeks ago