Results for “edge cases”

3 results

  1. Challenge

    Edge cases

    …an ordinary list and a list with one value first, then the edge cases, an empty list that should give None and lists with negative values, so broken copies of the function can't pass.

    Write the code Medium 2 stages testing assert edge cases None
  2. Challenge

    Test the pipeline

    The telemetry pipeline is now split into parse_row() and check_limits(). Write assert tests for both, good rows, rejected rows and readings right at a limit, so that each of three planted bugs makes…

    Write the code Hard 2 stages project testing assert try
  3. Challenge

    Summary function

    Write summarise(readings), which returns the count, min, max and mean of a list of readings as one dict, then make it handle a pass with no data and round the mean, so any program can use the summary.

    Write the code Medium 2 stages functions return dictionaries min