Cody

Solution 2029102

Submitted on 20 Nov 2019
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

Test Suite

Test Status Code Input and Output
1   Fail
x = 68; y_correct = 293.15; tolerance = 1e-12; assert(abs(fahrenheit_to_kelvin(x)-y_correct)<tolerance)

Assertion failed.

2   Fail
x = 1; y_correct = 255.9278; tolerance = 2.3e-05; assert(abs(fahrenheit_to_kelvin(x)-y_correct)<tolerance)

Assertion failed.

3   Fail
x = 123; y_correct = 323.7056; tolerance = 4.5e-05; assert(abs(fahrenheit_to_kelvin(x)-y_correct)<tolerance)

Assertion failed.