add initial bulk run from pre-commit over all files

This commit is contained in:
Felix Schurk
2024-07-29 22:34:51 +02:00
parent 665aeeef61
commit 93356b39c3
418 changed files with 21354 additions and 23858 deletions

View File

@@ -27,20 +27,20 @@
#include <cmake.h>
// cmake.h include header must come first
#include <iostream>
#include <test.h>
#include <Variant.h>
#include <test.h>
#include <iostream>
#define EPSILON 0.001
////////////////////////////////////////////////////////////////////////////////
int main (int, char**)
{
UnitTest t (1);
int main(int, char**) {
UnitTest t(1);
Variant v0 (10.0);
v0.sqrt ();
t.is (v0.get_real (), 3.1622, EPSILON, "math sqrt 10 -> 3.1622");
Variant v0(10.0);
v0.sqrt();
t.is(v0.get_real(), 3.1622, EPSILON, "math sqrt 10 -> 3.1622");
return 0;
}