Skip to content

Incomplete Jasmine test #5

@WoodyTheWoodman

Description

@WoodyTheWoodman

In section #3 Types, in the practice exercises we were to write a randUpTo function. This function passes the Jasmin test with the following solution:
return Math.random() * n;
This solution is wrong because it does not product a whole number as requested in the function specs.
The Jasmine test should be modified to test that the randUpTo function is returning a whole number.

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