from admin import *
from json import dump, load

questions = [
    {
        "option_1": "Fight a horse-sized duck",
        "option_2": "Fight 100 duck-sized horsed",
        "mature": True,
        "votes_1": 3,
        "votes_2": 5,
    },
    {
        "option_1": "Be invisible",
        "option_2": "Be able to fly",
        "mature": False,
        "votes_1": 0,
        "votes_2": 0,
    },
    {
        "option_1": "Have a dog",
        "option_2": "Have a cat",
        "mature": False,
        "votes_1": 99,
        "votes_2": 101,
    },
    {
        "option_1": "This is a really long option that is well over 40 characters so it truncates",
        "option_2": "123456789 123456789 123456789 1234567890",
        "mature": False,
        "votes_1": 0,
        "votes_2": 99999,
    },
]
save_data(questions)
# input_int("Type an integer: ")
# input_something("Type anything but whitespace: ")
# input_boolean("Type Yes or No")
# addQuestion()
listQuestions()
searchQuestions(None)
viewQuestion(None)
toggleQuestion(None)
viewQuestion(None)
# deleteQuestion(None)
# listQuestions()
