Unit Testing, Property Based Testing.
strategies are available to choose. Property-based testing, the most advanced one, is about to infer over input/output values and find valid statements for an entire domain / subdomain. Over the usage of generators and matchers to check those statements against a reasonable amount of data, a great