mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	Added DYNAMIC_SECTION and implemented GIVEN/ WHEN/ THEN in terms of it
This commit is contained in:
		| @@ -129,9 +129,7 @@ TEST_CASE( "looped SECTION tests", "[.][failing][sections]" ) { | ||||
|     int a = 1; | ||||
|  | ||||
|     for( int b = 0; b < 10; ++b ) { | ||||
|         std::ostringstream oss; | ||||
|         oss << "b is currently: " << b; | ||||
|         SECTION( oss.str() ) { | ||||
|         DYNAMIC_SECTION( "b is currently: " << b ) { | ||||
|             CHECK( b > a ); | ||||
|         } | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash