mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-02 13:25:41 +02:00
Add test showing literals and complex generators in one GENERATE
This commit is contained in:
@@ -1258,6 +1258,14 @@ ok {test-number} - WithinRel( 1.f, -0.2f ), std::domain_error
|
||||
ok {test-number} - WithinRel( 1.f, 1.f ), std::domain_error
|
||||
# Floating point matchers: float
|
||||
ok {test-number} - 1., !IsNaN() for: 1.0 not is NaN
|
||||
# GENERATE can combine literals and generators
|
||||
ok {test-number} - i % 2 == 0 for: 0 == 0
|
||||
# GENERATE can combine literals and generators
|
||||
ok {test-number} - i % 2 == 0 for: 0 == 0
|
||||
# GENERATE can combine literals and generators
|
||||
ok {test-number} - i % 2 == 0 for: 0 == 0
|
||||
# GENERATE can combine literals and generators
|
||||
ok {test-number} - i % 2 == 0 for: 0 == 0
|
||||
# Generators -- adapters
|
||||
ok {test-number} - i % 2 == 0 for: 0 == 0
|
||||
# Generators -- adapters
|
||||
@@ -4537,5 +4545,5 @@ ok {test-number} - q3 == 23. for: 23.0 == 23.0
|
||||
ok {test-number} -
|
||||
# xmlentitycheck
|
||||
ok {test-number} -
|
||||
1..2266
|
||||
1..2270
|
||||
|
||||
|
Reference in New Issue
Block a user