Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[factory-sensors] Add test for temperature of 0 degrees #2538

Merged
merged 1 commit into from
Sep 12, 2024

Commits on Sep 12, 2024

  1. [factory-sensors] Add test for temperature of 0 degrees

    This exercise should reject solutions with `!temperature`.
    
    1) In the story `null` is a special signal that the sensor is
    broken. That means in-universe the sensor will needlesly be
    replaced if it happens to encounter temperatures of 0 degrees.
    
    2) In our world, the assignment requires that students make
    distinction between nulls and numbers. 0 is a valid number.
    There is no reason to have it _intentionally_ be handled
    differently than -1 or 1 and lumped with `null`.
    themetar committed Sep 12, 2024
    Configuration menu
    Copy the full SHA
    8cfeaa9 View commit details
    Browse the repository at this point in the history