python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
extern "C" function returning struct behaves unexpectedly
I'm writing a C project and I want to test it using catch2 framework. But I'm having some odd behaviors with a function that returns a struct.
The C code is bellow:
stream_type.h
#ifndef STREAM_TYPE
#...
Gabriel Lira
Votes: 0
Answers: 0
How do I use catch2 just by cloning its repository and copying its src to my project?
I am trying to get catch2 running for a barebone project just to get familiar with it but so far I failed installing it in whatever sense possible. the catch2-git repository either points you to insta...
jkbs1337
Votes: 0
Answers: 1
Run all catch2 tests in one compile unit without tag definition
I have the following project structure:
test_main.cc
#define CATCH_CONFIG_MAIN
#include "catch2.hpp"
test1.cc
#include "catch2.hpp"
TEST_CASE("test1", "[test1]&qu...
schorsch312
Votes: 0
Answers: 1