Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/docs/writing-tests/matrix-tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ public class MyTestClass

That will generate 100 test cases. 10 different values for value1, and 10 different values for value2. 10\*10 is 100.

:::info
Using `[Matrix]` without arguments on a `bool` or `enum` parameter will automatically expand all known values.
:::

## Matrix Range

You can also use the `[MatrixRange<T>]` for numerical types. It will generated a range between the minimum and maximum, with an optional step parameter to define how far to step between each value. By default, this is 1.
Expand Down