summaryrefslogtreecommitdiff
path: root/Homework/cs3460/rands/build/_deps/fmt-src/test/header-only-test.cc
diff options
context:
space:
mode:
authorElizabeth Alexander Hunt <me@liz.coffee>2026-07-02 11:55:17 -0700
committerElizabeth Alexander Hunt <me@liz.coffee>2026-07-02 11:55:17 -0700
commit6bf4b90c90f15f4ab60833bddf5b5756d1a6b1f6 (patch)
treeed97e39ec77c5231ffd2c394493e68d00ddac5a4 /Homework/cs3460/rands/build/_deps/fmt-src/test/header-only-test.cc
downloadmisc-undergrad-6bf4b90c90f15f4ab60833bddf5b5756d1a6b1f6.tar.gz
misc-undergrad-6bf4b90c90f15f4ab60833bddf5b5756d1a6b1f6.zip
Diffstat (limited to 'Homework/cs3460/rands/build/_deps/fmt-src/test/header-only-test.cc')
-rw-r--r--Homework/cs3460/rands/build/_deps/fmt-src/test/header-only-test.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/Homework/cs3460/rands/build/_deps/fmt-src/test/header-only-test.cc b/Homework/cs3460/rands/build/_deps/fmt-src/test/header-only-test.cc
new file mode 100644
index 0000000..570f09a
--- /dev/null
+++ b/Homework/cs3460/rands/build/_deps/fmt-src/test/header-only-test.cc
@@ -0,0 +1,11 @@
+// Header-only configuration test
+
+#include "fmt/core.h"
+#include "fmt/ostream.h"
+#include "gtest/gtest.h"
+
+#ifndef FMT_HEADER_ONLY
+# error "Not in the header-only mode."
+#endif
+
+TEST(header_only_test, format) { EXPECT_EQ(fmt::format("foo"), "foo"); }