aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-01-07 17:47:12 -0600
committerColin Snover2017-01-08 13:21:10 -0600
commit9c60bcf0697e48f607edaa75e1308b9a7ca79d3e (patch)
tree9bb34a860185f0194b76c00ff207e903d7b1daa8
parentb2796e65aa306f572978b5ade8343ce1357b4c04 (diff)
downloadscummvm-rg350-9c60bcf0697e48f607edaa75e1308b9a7ca79d3e.tar.gz
scummvm-rg350-9c60bcf0697e48f607edaa75e1308b9a7ca79d3e.tar.bz2
scummvm-rg350-9c60bcf0697e48f607edaa75e1308b9a7ca79d3e.zip
COMMON: Add more lcov-guided Span tests
-rw-r--r--test/common/span.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/common/span.h b/test/common/span.h
index 82b63a58d5..f8ab5d0f80 100644
--- a/test/common/span.h
+++ b/test/common/span.h
@@ -655,6 +655,8 @@ public:
Common::NamedSpan<byte> span2;
span2 = span;
TS_ASSERT_EQUALS(span2, span);
+ TS_ASSERT(span2.name() == span.name());
+ TS_ASSERT(span2.sourceByteOffset() == span.sourceByteOffset());
Common::Span<byte> superclassInstance;
superclassInstance = span;