// Copyright (c) 2026 Progmasoft. // SPDX-License-Identifier: MPL-2.0 WITH AdditionRef-Progmasoft-Exception-1.1 #pragma once #include #include #include #include /// Runs a property and reports its replay seed and minimized counterexample. #define CATCH3_CHECK_PROPERTY( ... ) \ do { \ const auto catch3PropertyResult = \ ::Progmasoft::Catch3::CheckProperty( __VA_ARGS__ ); \ INFO( catch3PropertyResult.Describe() ); \ CHECK( catch3PropertyResult.Succeeded() ); \ } while ( false ) /// Compares a value with a named snapshot and reports the first difference. #define CATCH3_CHECK_SNAPSHOT( name, actual, options ) \ do { \ const auto catch3SnapshotResult = \ ::Progmasoft::Catch3::CompareSnapshot( name, actual, options ); \ INFO( catch3SnapshotResult.Message ); \ CHECK( catch3SnapshotResult.Succeeded() ); \ } while ( false )