summaryrefslogtreecommitdiff
path: root/test/correctness/testxy.cc
diff options
context:
space:
mode:
authorCNugteren <web@cedricnugteren.nl>2015-06-12 22:03:48 +0200
committerCNugteren <web@cedricnugteren.nl>2015-06-12 22:03:48 +0200
commitabec7cd8c802df4965b8e9fd7712907a4bc39efc (patch)
treea7468da876a6465457ef9a94c64f393e7f5ea7b3 /test/correctness/testxy.cc
parentbdc3444d5c96f71e0c27eb8048346dc28e7b38e2 (diff)
Fixed a bug in testing where the offset would be set incorrectly
Diffstat (limited to 'test/correctness/testxy.cc')
-rw-r--r--test/correctness/testxy.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/correctness/testxy.cc b/test/correctness/testxy.cc
index 0b708b3d..49ae5d7d 100644
--- a/test/correctness/testxy.cc
+++ b/test/correctness/testxy.cc
@@ -126,6 +126,8 @@ void TestXY<T>::TestInvalidBufferSizes(Arguments<T> &args, const std::string &na
// Sets example test parameters
args.n = kBufferSize;
+ args.x_offset = 0;
+ args.y_offset = 0;
// Iterates over test buffer sizes
const std::vector<size_t> kBufferSizes = {0, kBufferSize - 1, kBufferSize};