Add windows CI

This commit is contained in:
Xiphoseer
2022-01-05 10:06:34 +01:00
parent 8ed7690b96
commit adab6cf96f
5 changed files with 89 additions and 30 deletions

View File

@@ -8,7 +8,7 @@
* @param argv Command line arguments
* @return 0 on success, non-zero on failure
*/
int TestLDFFormat(int argc, char** argv) {
int TestLDFFormat(int argc, char* *const argv) {
// Create
auto* data = LDFBaseData::DataFromString("KEY=0:VALUE");

View File

@@ -3,7 +3,7 @@
#include "NiPoint3.h"
#include "CommonCxxTests.h"
int TestNiPoint3(int argc, char** argv) {
int TestNiPoint3(int argc, char* *const argv) {
// Check that Unitize works
ASSERT_EQ(NiPoint3(3,0,0).Unitize(), NiPoint3::UNIT_X);
// Check what unitize does to a vector of length 0