From 2f1ad9ec273a0ff9e746e9f6c4cac2ce81cb31e4 Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 3 Oct 2024 12:20:34 +0200 Subject: small test to play around abit with classes --- class-tests-main.cpp | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 class-tests-main.cpp (limited to 'class-tests-main.cpp') diff --git a/class-tests-main.cpp b/class-tests-main.cpp new file mode 100644 index 0000000..86a289e --- /dev/null +++ b/class-tests-main.cpp @@ -0,0 +1,26 @@ +#include +#include "class-tests.hpp" + +/* + * + * + * + * + */ + +int main () { + + CLASS_TESTS a; + a.Get_System_Info(); + a.print_CT(); + if(a.isFailed()) { + std::cout << "Fail." << std::endl; + return 1; + } + + if(a.isSuccess()) { + std::cout << "Success!" << std::endl; + } + + return 0; +} -- cgit v1.2.3