Skip to content

[Question][Hw2] Hint on where to start looking for failing tests #170

@m-spitfire

Description

@m-spitfire

Name: Murad Bashirov

I've been working on the assignment, and I got 96/98 test cases passing. However, I can't seem to find the bug that makes thlss two test cases fail. I've tried everything, I don't think my implementation is wrong from what's been described in the assignment. My first suspect was something related to i32 type, but I keep everything strictly in the bounds of 32-bit integer and raise exception whenever overflow happens, so I don't think that's the issue.

What could be the issue? How can I know what's wrong with my code? Because C doesn't have any formal specification, and we're only working on subset of C, it's not easy to find buggy part that makes tests fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions