commit | 49fe566d0589d656c5886794cc641c1527387ca5 | [log] [tgz] |
---|---|---|
author | Austin Eng <enga@google.com> | Tue Jul 04 10:53:42 2017 -0400 |
committer | Austin Eng <213reeses@gmail.com> | Thu Jul 06 16:57:54 2017 -0400 |
tree | e1a32add1a912aa40051c0abd81a16ef21a8c4fc | |
parent | 4502441604b087f232918b41647b6d0a547e9274 [diff] [blame] |
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());