Unit Testing, Property Testing, Elixir Language, Elixirlang, Refactoring.
it was being written, and it’s written this way in order to avoid as many calls to ++ as possible. We’re going to refactor it to avoid any calls to ++. But our unit tests are still in our way. Here’s an example unit test for this method: iex> Morphix.partiphify!([:a, :b, :c, :d, :e, :f], 4) [[:c],