mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-08 23:29:53 +01:00
Merge pull request #1973 from echuber2/patch-1
Escaping "*" ("times") to fix Markdown presentation
This commit is contained in:
commit
de103db696
@ -24,9 +24,9 @@ TEST_CASE("Generators") {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
The `SECTION` "one" will be run 4 (2*2) times, because the outer
|
The `SECTION` "one" will be run 4 (2\*2) times, because the outer
|
||||||
generator has 2 elements in it, and the inner generator also has 2
|
generator has 2 elements in it, and the inner generator also has 2
|
||||||
elements in it. The `SECTION` "two" will be run 6 (2*3) times. The
|
elements in it. The `SECTION` "two" will be run 6 (2\*3) times. The
|
||||||
sections will be run in order "one", "one", "two", "two", "two", "one",
|
sections will be run in order "one", "one", "two", "two", "two", "one",
|
||||||
...
|
...
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ It is also possible to have multiple generators at the same level of
|
|||||||
nesting. The result is the same as when generators are inside nested
|
nesting. The result is the same as when generators are inside nested
|
||||||
sections, that is, the result will be a cartesian product of all
|
sections, that is, the result will be a cartesian product of all
|
||||||
elements. This means that in the snippet below, the test case will be
|
elements. This means that in the snippet below, the test case will be
|
||||||
run 6 (2*3) times.
|
run 6 (2\*3) times.
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
TEST_CASE("Generators") {
|
TEST_CASE("Generators") {
|
||||||
|
Loading…
Reference in New Issue
Block a user