#!/bin/bash

. "$XDG_TEST_DIR/include/testassertions.sh"
. "$XDG_TEST_DIR/include/testcontrol.sh"

test_interactive() {
test_start "$FUNCNAME: verify functionallity of assert_interactive"

test_procedure

assert_interactive "Enter 'y'" y
assert_interactive "Enter 'n'" n
assert_interactive "neg Enter 'y'" n
assert_interactive "neg Enter 'n'" y
assert_interactive "Wait"

test_result
}

run_test test_interactive
