summaryrefslogtreecommitdiff
path: root/opendc-simulator/opendc-simulator-compute/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-simulator/opendc-simulator-compute/src/test')
-rw-r--r--opendc-simulator/opendc-simulator-compute/src/test/kotlin/org/opendc/simulator/compute/SimMachineTest.kt41
1 files changed, 20 insertions, 21 deletions
diff --git a/opendc-simulator/opendc-simulator-compute/src/test/kotlin/org/opendc/simulator/compute/SimMachineTest.kt b/opendc-simulator/opendc-simulator-compute/src/test/kotlin/org/opendc/simulator/compute/SimMachineTest.kt
index 173c60e7..eb3d3377 100644
--- a/opendc-simulator/opendc-simulator-compute/src/test/kotlin/org/opendc/simulator/compute/SimMachineTest.kt
+++ b/opendc-simulator/opendc-simulator-compute/src/test/kotlin/org/opendc/simulator/compute/SimMachineTest.kt
@@ -22,32 +22,31 @@
package org.opendc.simulator.compute
-import org.junit.jupiter.api.BeforeEach
-import org.opendc.simulator.compute.models.CpuModel
import org.opendc.simulator.compute.models.MachineModel
-import org.opendc.simulator.compute.models.MemoryUnit
/**
* Test suite for the [SimBareMetalMachine] class.
*/
+
class SimMachineTest {
private lateinit var machineModel: MachineModel
-
- @BeforeEach
- fun setUp() {
- machineModel =
- MachineModel(
- CpuModel(
- 0,
- 2,
- 1000.0,
- "Intel",
- "Xeon",
- "amd64",
- ),
- MemoryUnit("Crucial", "MTA18ASF4G72AZ-3G2B1", 3200.0, 32_000 * 4),
- )
- }
+//
+// @BeforeEach
+// fun setUp() {
+// machineModel =
+// MachineModel(
+// CpuModel(
+// 0,
+// 2,
+// 1000.0,
+// "Intel",
+// "Xeon",
+// "amd64",
+// ),
+// MemoryUnit("Crucial", "MTA18ASF4G72AZ-3G2B1", 3200.0, 32_000 * 4),
+// null
+// )
+// }
// @Test
// fun testFlopsWorkload() =
@@ -104,10 +103,10 @@ class SimMachineTest {
// val cpuNode = machineModel.cpu
// val machineModel =
// MachineModel(
-// List(cpuNode.coreCount * 2) {
+// List(cpuNode.cpuCoreCount * 2) {
// CpuModel(
// it,
-// cpuNode.coreCount,
+// cpuNode.cpuCoreCount,
// 1000.0,
// )
// },