From 6683da9c289454af7c5866622091a223e1f8e74a Mon Sep 17 00:00:00 2001 From: Alena Chaikouskaya Date: Wed, 5 Feb 2025 15:50:59 +0100 Subject: [PATCH] Wrap matlab test scripts with print information These script are intended to be run as tests, but there is no visible information whether scripts were actually executed. Wrapping them up in print statements gives us confidence that scripts were run from start to finish. --- mex/test/segy.m | 3 +++ mex/test/segyspec.m | 3 +++ 2 files changed, 6 insertions(+) diff --git a/mex/test/segy.m b/mex/test/segy.m index 2e2f5b54e..6963d8938 100644 --- a/mex/test/segy.m +++ b/mex/test/segy.m @@ -1,3 +1,4 @@ +disp('segy.m test suite: start'); % test segyline % preconditions @@ -279,3 +280,5 @@ assert(abs(wr_line1(2,2,1) - 101.01001) < eps); assert(abs(wr_line1(3,2,1) - 101.01002) < eps); assert(abs(wr_line1(2,2,2) - 101.02001) < eps); + +disp('segy.m test suite: over'); diff --git a/mex/test/segyspec.m b/mex/test/segyspec.m index bb8669be3..9447b235f 100644 --- a/mex/test/segyspec.m +++ b/mex/test/segyspec.m @@ -1,3 +1,4 @@ +disp('segyspec.m test suite: start'); % test segyspec % preconditions @@ -86,3 +87,5 @@ for il = spec.inline_indexes' assert(il >= 1 && il <= 5); end + +disp('segyspec.m test suite: over');