Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Regenerated single include

Commit
2254540959e771d52d927b5bc4407b48a990ab90
Author
Phil Nash ·
Parents
d474d8dcd865

Files · Download .tar.gz

Changes

 single_include/catch.hpp | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/single_include/catch.hpp b/single_include/catch.hpp
index c905ec6f..945f988a 100644
--- a/single_include/catch.hpp
+++ b/single_include/catch.hpp
@@ -1597,6 +1597,24 @@ public:
         return m_result.captureExpression<Internal::IsGreaterThanOrEqualTo>( m_lhs, rhs );
     }
 
+    ///////////////////////////////////////////////////////////////////////////
+    MutableResultInfo& operator ==
+    (
+        bool rhs
+    )
+    {
+        return m_result.captureExpression<Internal::IsEqualTo>( m_lhs, rhs );
+    }
+
+    ///////////////////////////////////////////////////////////////////////////
+    MutableResultInfo& operator !=
+    (
+        bool rhs
+    )
+    {
+        return m_result.captureExpression<Internal::IsNotEqualTo>( m_lhs, rhs );
+    }
+
     ///////////////////////////////////////////////////////////////////////////
     operator MutableResultInfo&
     ()
@@ -1754,6 +1772,16 @@ public:
         return expr;
     }
 
+    ///////////////////////////////////////////////////////////////////////////
+    Expression<bool> operator->*
+    (
+        bool value
+    )
+    {
+        Expression<bool> expr( m_result, value );
+        return expr;
+    }
+
     ///////////////////////////////////////////////////////////////////////////
     template<typename T>
     ResultBuilder& operator <<