aboutsummaryrefslogtreecommitdiffstats
path: root/tests/libsample/size.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libsample/size.cpp')
-rw-r--r--tests/libsample/size.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/libsample/size.cpp b/tests/libsample/size.cpp
new file mode 100644
index 000000000..63af9c828
--- /dev/null
+++ b/tests/libsample/size.cpp
@@ -0,0 +1,11 @@
+#include <iostream>
+#include "size.h"
+
+using namespace std;
+
+void
+Size::show() const
+{
+ cout << "(width: " << m_width << ", height: " << m_height << ")";
+}
+