Open richelbilderbeek opened 1 week ago
completed in is_gradient.py
I've seen the code in learners/src/is_gradient.py
. Well done!
However, this code is not part of the project yet, hence it cannot be used by others yet. To solve this:
is_gradient
in file src/bacsim/gradient.py
tests/test_gradient.py
Also, the function create_test_gradient
is undefined. Please create and test it. Here are some minimal tests:
assert create_test_gradient.__doc__
Because this function is missing, the test below will fail:
assert is_gradient(create_test_gradient()) == True
Please check if your tests pass next time, especially before pushing to the main branch :+1:
Good luck!
Needed for #13
Tests: