From 314c68fb4b4202538cfdb21aa2a56b2aa3aad6fb Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Fri, 8 Sep 2017 12:57:12 +0200 Subject: Allow easier construction of graph via TopologyBuilder This change allows for easier construction of a topology. --- opendc-core/src/test/kotlin/nl/atlarge/opendc/SmokeTest.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc-core/src/test') diff --git a/opendc-core/src/test/kotlin/nl/atlarge/opendc/SmokeTest.kt b/opendc-core/src/test/kotlin/nl/atlarge/opendc/SmokeTest.kt index 50e22734..6d67c941 100644 --- a/opendc-core/src/test/kotlin/nl/atlarge/opendc/SmokeTest.kt +++ b/opendc-core/src/test/kotlin/nl/atlarge/opendc/SmokeTest.kt @@ -35,7 +35,7 @@ internal class SmokeTest { @Test fun smoke() { val builder = AdjacencyListTopologyBuilder() - val topology = builder.build().apply { + val topology = builder.construct { val rack = node(Rack()) val n = 100 // Create n machines in the rack -- cgit v1.2.3