Skip to content
#

cpp98

cpp logo

C++ is a popular and widely used mid-level language. It was designed as an extension of the C language.

Here are 51 public repositories matching this topic...

TERMIK
TERMIK commented Sep 21, 2020

Hello.
I've included the header file "catch.hpp" in my iOS application where I have a C++ part and defined #define CATCH_CONFIG_MAIN in a cpp file that I want to be tested.

I've also written a simple test:

int return_int(int arg){
return 1;
}

TEST_CASE( "Test", "[int]" ) {
REQUIRE(return_int(1) == 1);
REQUIRE(return_int(2) == 1);
}

But all I have are these two errors

Created by Bjarne Stroustrup

Released October 1985

Website
isocpp.org
Wikipedia
Wikipedia
You can’t perform that action at this time.