Skip to content

Unit tests for Integer(s: String) #109

@danilopedraza

Description

@danilopedraza

Right now the Integer primitive doesn't have any tests for the case where it parses numeric strings. The tests should be written in /core/src/object/mod.rs, inside the tests module. It should be easy: A string object should be created, and it should be checked that the expected result of parsing it as an integer is actually returned from to_int.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions