Skip to content

Commit f017dac

Browse files
committed
Enable failing tests
1 parent 567ba40 commit f017dac

File tree

6 files changed

+12
-11
lines changed

6 files changed

+12
-11
lines changed

test/array_copy_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ template<class T> void test4()
4444

4545
int main()
4646
{
47-
// test1<int, 0>();
47+
test1<int, 0>();
4848
test1<int, 1>();
4949
test1<int, 7>();
5050

51-
// test1<int const, 0>();
51+
test1<int const, 0>();
5252
test1<int const, 1>();
5353
test1<int const, 7>();
5454

test/array_init_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ template<class T> void test4()
4646

4747
int main()
4848
{
49-
// test1<int, 0>();
49+
test1<int, 0>();
5050
test1<int, 1>();
5151
test1<int, 7>();
5252

53-
// test1<int const, 0>();
53+
test1<int const, 0>();
5454
test1<int const, 1>();
5555
test1<int const, 7>();
5656

test/array_init_test_cx.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ template<class T> void test4()
5656

5757
template<class T> void test5()
5858
{
59-
// constexpr boost::array<T, 0> a = {{}};
59+
constexpr boost::array<T, 0> a = {{}};
60+
(void)a;
6061
}
6162

6263
template<class T> void test6()

test/array_iterator_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ template<class T> void test2()
9494

9595
int main()
9696
{
97-
// test<int, 0>();
97+
test<int, 0>();
9898
test<int, 1>();
9999
test<int, 7>();
100100

101-
// test<int const, 0>();
101+
test<int const, 0>();
102102
test<int const, 1>();
103103
test<int const, 7>();
104104

test/array_reverse_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ template<class T, std::size_t N> void test()
7676

7777
int main()
7878
{
79-
// test<int, 0>();
79+
test<int, 0>();
8080
test<int, 1>();
8181
test<int, 7>();
8282

83-
// test<int const, 0>();
83+
test<int const, 0>();
8484
test<int const, 1>();
8585
test<int const, 7>();
8686

test/array_size_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ template<class T, std::size_t N> void test3()
4949

5050
int main()
5151
{
52-
// test1<int, 0>();
52+
test1<int, 0>();
5353
test1<int, 1>();
5454
test1<int, 7>();
5555

56-
// test1<int const, 0>();
56+
test1<int const, 0>();
5757
test1<int const, 1>();
5858
test1<int const, 7>();
5959

0 commit comments

Comments
 (0)