Corentin Schreiber

Results 74 comments of Corentin Schreiber

@willwray contributed the meson build scripts and the WrapDB integration. Perhaps he knows why *snitch* isn't listed there anymore?

Ahah, there was much more story there than I expected! What should we do, then? Is inclusion in WrapDB not needed anymore because we have native Meson support, hence the...

Based on what I read in the _Catch2_ and _doctest_ documentations, you can easily do this with sections: ```c++ TEST_CASE("BDD") { SECTION("given: a vector") { std::vector v; SECTION("when: resized") {...

Hi there! It is not currently possible, no. Supporting this would not require a lot of code changes, but changes nonetheless. It seems to me more of a niche use...

Hi and thanks for the tip! You are correct, this is not currently supported. I know *Catch2* supports this too. Do you know how the different processes get spawned? I.e.,...

Perhaps something like: ```c++ template struct within { T expected = {}; struct tolerance_thresholds { T abs = {}; T rel = {}; } tolerance; explicit within(T e, T abs_tol)...

Thanks for the feedback! > 1. It's important to understand how often the user needs to specify both absolute and relative tolerances. If it's not too often, then the Catch2's...

Hmm indeed, `abs{1e-6}` won't compile because of the C `abs()` function in the global namespace. Why can't we have nice things? So then we'll need to drop the shorthand names:...

A brief review of floating point testing practices in popular open source libraries: - xtensor: uses *doctest* and either compares floats for strict equality or uses in-house `CHECK(allclose(a, b))`. This...

Parking this for a bit; the latest prototype can be found in https://github.com/cschreib/snitch/tree/float_matcher.