Unit Testing, Property Testing, Elixir Language, Elixirlang, Refactoring.
should be a list of length k. We can probably write a test for that. Here is a test that is that test, but it isn’t a very good test: test "the output list should be the same lenght as the input integer" do k = (1..100) |> Enum.random() l = (0..1000) |> Enum.to_list() actual =