elixir-lang/elixir — pull request #326 by carlosgaldino (2012-06-01 18:53:15+00:00)
Title: Add tests for custom range iterator

These tests are a way to assert that the Enum.Iterator protocol works when you implement it for a type that transforms itself to a List and then uses the implementation of Enum.Iterator for List.

As the Range record is not used outside the tests I didn't add the possibility to have a negative Range.