Expand description

Isotest enables a very specific Rust unit testing pattern.

Macros

Helper to define a two-way Iso relationship between test data and real data.

Structs

The API passed into an isotest in the Real context.

The API passed into an isotest in the Test context.

Enums

Which of the two contexts each isotest body will run under.

Traits

Trait that declares the relationship between a “test” and “real struct”, namely how to go back and forth between the two.

Functions

Test the invariants of your Iso implementation with an arbitrary Test and Real value.

Type Definitions

Create function for the real context

Creation function for the test context

The argument to an isotest update function

Update function for the real context

Update function for the test context