Test Code for test_LedOutputTestsGroup

test_GivenDutResetWhenUserKeyLongPushThenLedOn

def test_GivenDutResetWhenUserKeyLongPushThenLedOn():
    generate_rst()
    generate_long_push()
    intpu_state = gpio.read("LED_OUT_PIN")
    TEST_ASSERT_EQUAL(1,intpu_state)

test_GivenDutResetAndLedOnWhenUserKeyShortPushThenLedOff

def test_GivenDutResetAndLedOnWhenUserKeyShortPushThenLedOff():
    generate_rst()
    generate_long_push()
    intpu_state = gpio.read("LED_OUT_PIN")

    generate_short_push()
    intpu_state = gpio.read("LED_OUT_PIN")
    TEST_ASSERT_EQUAL(1,intpu_state)