Last active
August 20, 2019 21:13
-
-
Save grufino/19226b1cf4c306d8eac4d941b90e5a3f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
property "always returns list of the same size" do | |
check all size <- integer(0..100), | |
number_lists <- list_of(number_list(size), min_length: 1, max_length: 100) do | |
assert length(MissingData.average_list(number_lists)) == length(Enum.random(number_lists)) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment