From 55c25a504c4bd01a99ff752eba426b7d44eccf54 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Wed, 22 Nov 2023 19:30:09 -0800 Subject: [PATCH] test --- test/tests/test_heater.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/tests/test_heater.cpp b/test/tests/test_heater.cpp index d3ad703..a3dc5e9 100644 --- a/test/tests/test_heater.cpp +++ b/test/tests/test_heater.cpp @@ -15,18 +15,16 @@ TEST(HeaterStateOutput, Preheat) MockHeater dut; // Shouldn't depend upon sensor ESR - EXPECT_EQ(1.5f, dut.GetVoltageForState(HeaterState::Preheat, 0)); - EXPECT_EQ(1.5f, dut.GetVoltageForState(HeaterState::Preheat, 300)); - EXPECT_EQ(1.5f, dut.GetVoltageForState(HeaterState::Preheat, 1000)); + EXPECT_EQ(2.0f, dut.GetVoltageForState(HeaterState::Preheat, 0)); + EXPECT_EQ(2.0f, dut.GetVoltageForState(HeaterState::Preheat, 300)); + EXPECT_EQ(2.0f, dut.GetVoltageForState(HeaterState::Preheat, 1000)); } TEST(HeaterStateOutput, WarmupRamp) { MockHeater dut; - EXPECT_EQ(1.5f, dut.GetVoltageForState(HeaterState::Preheat, 0)); - EXPECT_EQ(1.5f, dut.GetVoltageForState(HeaterState::Preheat, 300)); - EXPECT_EQ(1.5f, dut.GetVoltageForState(HeaterState::Preheat, 1000)); + // TODO } TEST(HeaterStateOutput, ClosedLoop)