erg/crates/erg_compiler/lib/pystd/unittest.d/util.d.er
2023-05-05 17:36:00 +09:00

5 lines
320 B
Python

.safe_repr: (obj: Obj, short := Bool) -> Str
.strclass: (cls: ClassType) -> Str
.sorted_list_difference: |N <: Float|(expected: [N; _], actual: [N; _]) -> ([N; _], [N; _])
.unordered_list_difference: |N <: Float|(expected: [N; _], actual: [N; _]) -> ([N; _], [N; _])
.three_way_cmp: |N <: Ord|(x: N, y: N) -> {-1, 0, 1}