Skip to content

Rank4 vbc - error in running testsΒ #14

@wees-s

Description

@wees-s

tests:
FAIL Input: (((((2+2)*2+2)*2+2)*2+2)*2
Expected: "Unexpected token '('"
Yours: "Unexpected end of input"

FAIL Input: 1+
Expected: "Unexpected end of file"
Yours: "Unexpected end of input"

FAIL Input:
Expected: "0"
Yours: "Unexpected end of input"

FAIL Input: 1++2
Expected: "3"
Yours: "Unexpected token '+'"

FAIL Input: 1**2
Expected: "0"
Yours: "Unexpected token '*'"

FAIL Input: 1+2*
Expected: "Unexpected end of file"
Yours: "Unexpected end of input"

FAIL Input: (1+2)
Expected: "2"
Yours: "Unexpected token '
'"

FAIL Input: 1+2)(
Expected: "3"
Yours: "Unexpected token ')'"

FAIL Input: ((1+2)*3
Expected: "Unexpected token '('"
Yours: "Unexpected end of input"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions