Skip to content

tucker87/CodingKata-Infinites

Repository files navigation

CodingKata-Infinites

Implement the three methods of the Infinite class.

Unit Tests are provided to check your work.

These unit tests have a timeout of 30ms.

One of the tests has been isolated due to it's potentially long runtime.

Requirements

All() should return an enumerable containing all digits from 1 to int.MaxValue

Filter() should return an enumerable containing all items that match the predicate

Odds() should return an enumerable containing all odd digits from 1 to int.MaxValue, this must use the Filter function above

Evens() should return an enumerable containing all even digits from 2 to int.MaxValue, this must use the Filter function above

Restrictions

No use of Enumerable.Range or .Where allowed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages