aboutsummaryrefslogtreecommitdiffstats
path: root/tests/example.t.cpp
diff options
context:
space:
mode:
authorhsdk123 <[email protected]>2023-06-11 23:31:03 -0400
committerGitHub <[email protected]>2023-06-12 03:31:03 +0000
commit2d86d8b84fa54df4f6ce5e4942e617164cb5cc6d (patch)
tree9e53fc6ed81cd4b4043423eeeacf10f4aad860bf /tests/example.t.cpp
parent3d9900476ec49b2994b7163a451a69560d498306 (diff)
Add gtest integration (#860)
* Add gtest integration * Update gtest fetch * Add ctest * Update CI * Update CI * enable testing * Make tests off by default * Update gitignore
Diffstat (limited to 'tests/example.t.cpp')
-rw-r--r--tests/example.t.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/example.t.cpp b/tests/example.t.cpp
new file mode 100644
index 00000000..30341e8b
--- /dev/null
+++ b/tests/example.t.cpp
@@ -0,0 +1,16 @@
+#include <gtest/gtest.h>
+#include <AL/al.h>
+
+class ExampleTest : public ::testing::Test {
+};
+
+
+TEST_F(ExampleTest, Basic)
+{
+ // just making sure we compile
+ ALuint source, buffer;
+ ALfloat offset;
+ ALenum state;
+}
+
+