#include "../src/dunst.c"
#include "greatest.h"

TEST test_dunst_status(void)
{
        status = (struct dunst_status) {false, false, false};

        dunst_status(S_FULLSCREEN, true);
        ASSERT(status.fullscreen);
        dunst_status(S_IDLE, true);
        ASSERT(status.idle);
        dunst_status_int(S_PAUSE_LEVEL, 0);
        ASSERT(status.pause_level == 0);

        PASS();
}

SUITE(suite_dunst)
{
        RUN_TEST(test_dunst_status);
}
