let rubric_version = "1.0"
let rubric_title = "CS421 Fall 2016 ML4"

(**************************************************************************
 * You can add new test cases by adding new elements to the following lists
 * Format is:
 * TEST<X>ARG(<weight>, <function_name>, <arg1>, <arg2>, ..., <argX>)
 *
 * <X> is the number of argument that the function being tested takes.
 **************************************************************************)

(* Test cases should go in this list.
 * The first element of the pair is the weight of the case,
 * and the second is the string to be given to the parser.
 *)

let rubric = [
    TEST1ARG(1, get_all_tokens, "let = in + , ; ( - )");

    TEST1ARG(1, get_all_tokens, "42 0 7");
    TEST1ARG(1, get_all_tokens, "0b110100101");
    TEST1ARG(1, get_all_tokens, "0x8844ffaa11");
    TEST1ARG(1, get_all_tokens, "3.14 100.5 1.414");
    TEST1ARG(1, get_all_tokens, "2.7e10");

    TEST1ARG(1, get_all_tokens, "this is where if");

    TEST1ARG(1, get_all_tokens, "\"some string\"");
    TEST1ARG(1, get_all_tokens, "\" she said, \\\"hello\\\"\"");
    TEST1ARG(1, get_all_tokens, "\" \\100 \\001 \"");
    TEST1ARG(1, get_all_tokens, "\"a line \\n starts here; indent \\t starts here next string\" \"starts here\"")
]

let extra_rubric = []
