In January 2021 we will introduce a 10 GB quota for project repositories. Higher limits for individual projects will be available on request. Please see https://doku.lrz.de/display/PUBLIC/GitLab for more information.

Commit 545fca49 authored by Jens Petit's avatar Jens Petit

Fix tests from removing zero init (#50)

parent 542e602a
Pipeline #222572 passed with stages
in 29 minutes and 35 seconds
......@@ -29,12 +29,9 @@ SCENARIO("Constructing DataContainers")
THEN("it has the correct DataDescriptor") { REQUIRE(dc.getDataDescriptor() == desc); }
THEN("it has a zero data vector of correct size")
THEN("it has a data vector of correct size")
{
REQUIRE(dc.getSize() == desc.getNumberOfCoefficients());
for (index_t i = 0; i < desc.getNumberOfCoefficients(); ++i)
REQUIRE(dc[i] == 0.0);
}
}
......
......@@ -122,6 +122,7 @@ TEMPLATE_TEST_CASE("Scenario: Assigning to DataHandlerMapCPU", "", float, double
{
index_t size = 314;
DataHandlerCPU<TestType> dh{2 * size};
dh = 0;
const auto dhMap = dh.getBlock(0, size);
WHEN("copy assigning")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment