summaryrefslogtreecommitdiff
path: root/class-tests-main.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-10-03 12:20:34 +0200
committerOskar <[email protected]>2024-10-03 12:20:34 +0200
commit2f1ad9ec273a0ff9e746e9f6c4cac2ce81cb31e4 (patch)
treea397e770261ea84eedbea851fd051210246f4a10 /class-tests-main.cpp
parent3edb35c6cab27d36f0fde49726db8cc9289e7304 (diff)
small test to play around abit with classes
Diffstat (limited to 'class-tests-main.cpp')
-rw-r--r--class-tests-main.cpp26
1 files changed, 26 insertions, 0 deletions
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 <iostream>
+#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;
+}