Removed init list constructor test.

master
faluco 4 years ago committed by Francisco Paisana
parent eb4b2d4e43
commit 158edd4fe7

@ -21,8 +21,6 @@
#include "srslte/adt/span.h" #include "srslte/adt/span.h"
#include "srslte/common/test_common.h" #include "srslte/common/test_common.h"
#include <array>
#include <vector>
int test_span_access() int test_span_access()
{ {
@ -86,13 +84,6 @@ int test_span_conversion()
TESTASSERT(v2.size() == v.size()); TESTASSERT(v2.size() == v.size());
} }
{
// TEST: initializer lists
srslte::span<const int> v{{1, 2, 3, 4, 5, 6, 7}};
TESTASSERT(v.size() == 7);
TESTASSERT(v[0] == 1);
}
return SRSLTE_SUCCESS; return SRSLTE_SUCCESS;
} }

Loading…
Cancel
Save