Skip to content

ULIDTests

codefriar edited this page Oct 5, 2023 · 2 revisions

APIVERSION: 58

STATUS: ACTIVE

This seems like a woefully inadequate test class. However, the ULID class contains no branching logic to test. The single public method is fully tested by this class' method. Because ULIDs are intentionally random, there's no way to test deterministic output.

Methods

private static void testGenerateMethod()

ISTEST

Clone this wiki locally