mirror of
https://github.com/catchorg/Catch2.git
synced 2025-11-03 00:22:03 +01:00
@@ -26,17 +26,17 @@ namespace Catch {
|
||||
failed += other.failed;
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
std::size_t total() const {
|
||||
return passed + failed;
|
||||
}
|
||||
|
||||
|
||||
std::size_t passed;
|
||||
std::size_t failed;
|
||||
};
|
||||
|
||||
|
||||
struct Totals {
|
||||
|
||||
|
||||
Totals operator - ( Totals const& other ) const {
|
||||
Totals diff;
|
||||
diff.assertions = assertions - other.assertions;
|
||||
|
||||
Reference in New Issue
Block a user