summaryrefslogtreecommitdiff
path: root/test/core/managed/ManagerTest.cpp
diff options
context:
space:
mode:
authorAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-06 13:39:07 +0100
committerAndreas Stöckel <astoecke@techfak.uni-bielefeld.de>2015-01-06 13:39:07 +0100
commitf0abafd4367b3b5c58dffdab69edce1d867942cb (patch)
tree95373b267e37dff12159a5b3365227bad085a05e /test/core/managed/ManagerTest.cpp
parentb6dbad5183f64368909d1e1e42ddcb323bc6e61c (diff)
experimentation with ManagerTest.cpp
Diffstat (limited to 'test/core/managed/ManagerTest.cpp')
-rw-r--r--test/core/managed/ManagerTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/core/managed/ManagerTest.cpp b/test/core/managed/ManagerTest.cpp
index d7c0c17..3d09fa1 100644
--- a/test/core/managed/ManagerTest.cpp
+++ b/test/core/managed/ManagerTest.cpp
@@ -503,13 +503,14 @@ TEST(Manager, fullyConnectedGraph)
constexpr int nElem = 64;
std::array<bool, nElem> a;
- Manager mgr(1);
+ Manager mgr;
{
Rooted<TestManaged> n = createFullyConnectedGraph(mgr, nElem, &a[0]);
for (bool v : a) {
ASSERT_TRUE(v);
}
}
+ mgr.sweep();
for (bool v : a) {
ASSERT_FALSE(v);