Unverified Commit a41c3d0f authored by Jan's avatar Jan Committed by GitHub
Browse files

Fix table markup in testing.md

parent 67174c76
...@@ -101,23 +101,14 @@ functions that generate the test parameters, all defined in the `::testing` ...@@ -101,23 +101,14 @@ functions that generate the test parameters, all defined in the `::testing`
namespace: namespace:
<span id="param-generators"></span> <span id="param-generators"></span>
| Parameter Generator | Behavior | | Parameter Generator | Behavior |
| ---------------------------- | -------------------------------------------- | | ------------------- | ---------------------------------------------------- |
| `Range(begin, end [, step])` | Yields values `{begin, begin+step, | | `Range(begin, end [, step])` | Yields values `{begin, begin+step, begin+step+step, ...}`. The values do not include `end`. `step` defaults to 1. |
: : begin+step+step, ...}`. The values do not :
: : include `end`. `step` defaults to 1. :
| `Values(v1, v2, ..., vN)` | Yields values `{v1, v2, ..., vN}`. | | `Values(v1, v2, ..., vN)` | Yields values `{v1, v2, ..., vN}`. |
| `ValuesIn(container)` or | Yields values from a C-style array, an | | `ValuesIn(container)` or `ValuesIn(begin,end)` | Yields values from a C-style array, an STL-style container, or an iterator range `[begin, end)`. |
: `ValuesIn(begin,end)` : STL-style container, or an iterator range :
: : `[begin, end)`. :
| `Bool()` | Yields sequence `{false, true}`. | | `Bool()` | Yields sequence `{false, true}`. |
| `Combine(g1, g2, ..., gN)` | Yields as `std::tuple` *n*-tuples all | | `Combine(g1, g2, ..., gN)` | Yields as `std::tuple` *n*-tuples all combinations (Cartesian product) of the values generated by the given *n* generators `g1`, `g2`, ..., `gN`. |
: : combinations (Cartesian product) of the : | `ConvertGenerator<T>(g)` | Yields values generated by generator `g`, `static_cast` to `T`. |
: : values generated by the given *n* generators :
: : `g1`, `g2`, ..., `gN`. :
| `ConvertGenerator<T>(g)` | Yields values generated by generator `g`, |
: : `static_cast` to `T`. :
The optional last argument *`name_generator`* is a function or functor that The optional last argument *`name_generator`* is a function or functor that
generates custom test name suffixes based on the test parameters. The function generates custom test name suffixes based on the test parameters. The function
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment