From 331f1851607fbd72352d93b0ca83eea24ecc7669 Mon Sep 17 00:00:00 2001 From: Danny Robson Date: Fri, 13 Feb 2015 17:32:31 +1100 Subject: [PATCH] extent: add trivial validity instantiation test --- test/Makefile.am | 1 + test/extent.cpp | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 test/extent.cpp diff --git a/test/Makefile.am b/test/Makefile.am index 70091c5c..3c4c517d 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -7,6 +7,7 @@ TEST_BIN = \ bitwise \ checksum \ colour \ + extent \ fixed \ float \ hton \ diff --git a/test/extent.cpp b/test/extent.cpp new file mode 100644 index 00000000..40ee0f56 --- /dev/null +++ b/test/extent.cpp @@ -0,0 +1,8 @@ +#include "extent.hpp" +#include "debug.hpp" + +int +main (void) +{ + debug::sanity (util::extent {0, 0}); +}