Add Buffer range expectation
diff --git a/src/tests/NXTTest.cpp b/src/tests/NXTTest.cpp
index fca648d..dd6a22b 100644
--- a/src/tests/NXTTest.cpp
+++ b/src/tests/NXTTest.cpp
@@ -304,6 +304,11 @@
     }
 
     template<typename T>
+    ExpectEq<T>::ExpectEq(const T* values, const unsigned int count) {
+        expected.assign(values, values + count);
+    }
+
+    template<typename T>
     testing::AssertionResult ExpectEq<T>::Check(const void* data, size_t size) {
         ASSERT(size == sizeof(T) * expected.size());