summaryrefslogtreecommitdiffstats
path: root/testing/049_snippet.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'testing/049_snippet.cpp')
-rw-r--r--testing/049_snippet.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/049_snippet.cpp b/testing/049_snippet.cpp
new file mode 100644
index 0000000..2749a62
--- /dev/null
+++ b/testing/049_snippet.cpp
@@ -0,0 +1,13 @@
+// objective: test the \snippet command
+// check: indexpage.xml
+// config: EXAMPLE_PATH = .
+
+/** \mainpage
+ * A bubble sort algoritm
+ * First get the inputs
+ * \snippet snippet_test.cpp input
+ * Then do the bubbling
+ * \snippet snippet_test.cpp bubble
+ * Then write the result
+ * \snippet snippet_test.cpp output
+ */