aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNeil MacIntosh <neilmac@microsoft.com>2016-07-15 17:31:40 -0700
committerNeil MacIntosh <neilmac@microsoft.com>2016-07-15 17:31:40 -0700
commit8855c59579bb0de5212210662ed8aebff3582d41 (patch)
tree0db7fb1e8dcbadad22b3fcdf7a08d3fa6ea2ed3d /tests
parent267472449c2ff450aff9ae068d4a8c93651f310f (diff)
downloadplatform_external_Microsoft-GSL-8855c59579bb0de5212210662ed8aebff3582d41.tar.gz
platform_external_Microsoft-GSL-8855c59579bb0de5212210662ed8aebff3582d41.tar.bz2
platform_external_Microsoft-GSL-8855c59579bb0de5212210662ed8aebff3582d41.zip
Added basic compile support for MSVC 2013 to byte.
Diffstat (limited to 'tests')
-rw-r--r--tests/byte_tests.cpp1
-rw-r--r--tests/span_tests.cpp9
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/byte_tests.cpp b/tests/byte_tests.cpp
index 19456fd..5d4e7f6 100644
--- a/tests/byte_tests.cpp
+++ b/tests/byte_tests.cpp
@@ -87,6 +87,7 @@ SUITE(byte_tests)
CHECK(a == byte(0x0F));
}
}
+
}
int main(int, const char* []) { return UnitTest::RunAllTests(); }
diff --git a/tests/span_tests.cpp b/tests/span_tests.cpp
index 5c17552..ae3c32e 100644
--- a/tests/span_tests.cpp
+++ b/tests/span_tests.cpp
@@ -794,6 +794,15 @@ SUITE(span_tests)
CHECK(it1 == it2);
}
+ TEST(const_iterator)
+ {
+ span<int>::const_iterator it1;
+ span<int>::const_iterator it2;
+ CHECK(it1 == it2);
+
+
+ }
+
TEST(begin_end)
{
{