On Fri, Aug 11, 2017 at 11:13 AM, Thomas Munro <thomas.mu...@enterprisedb.com> wrote: > Just create a .test.c file and type "TEST(my_math, > factorial) { EXPECT_EQ(6, factorial(3)); }" ...
Of course that would really need to #include "something/test_macros.h" and "something/factorial.h", and EXPECT_EQ probably doesn't make much sense in C, but you get the point: very low barrier to use it. -- Thomas Munro http://www.enterprisedb.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers