Unit Testing, Property Based Testing.
In short, property-based testing is a strategy of writing unit tests based on properties — statements that can be true (or false) for all elements of a domain or one of its subdomains. To simplify the understanding, let’s bring up a graphical example. Given a function that generates a polygon