Add newline at EOF; re-merge cmake steps

This commit is contained in:
Xiphoseer 2022-01-03 16:30:29 +01:00
parent 03d4d84eeb
commit a06fa39a5d
2 changed files with 2 additions and 8 deletions

View File

@ -15,17 +15,11 @@ jobs:
- uses: actions/checkout@v2
with:
submodules: true
- name: cmake-configure
- name: cmake
uses: lukka/run-cmake@v10
with:
configurePreset: 'default'
- name: cmake-build
uses: lukka/run-cmake@v10
with:
buildPreset: 'default'
- name: cmake-test
uses: lukka/run-cmake@v10
with:
testPreset: 'default'
- name: artifacts
uses: actions/upload-artifact@v2

View File

@ -1,4 +1,4 @@
#include <cstdio>
#define ASSERT_EQ(a,b) { if (!(a == b)) { printf("Failed assertion: " #a " == " #b " \n in %s:%d\n", __FILE__, __LINE__); return 1; }}
#define ASSERT_NE(a,b) { if (!(a != b)) { printf("Failed assertion: " #a " != " #b " \n in %s:%d\n", __FILE__, __LINE__); return 1; }}
#define ASSERT_NE(a,b) { if (!(a != b)) { printf("Failed assertion: " #a " != " #b " \n in %s:%d\n", __FILE__, __LINE__); return 1; }}