Skip to content

Commit

Permalink
#478 remove obsolete NaturalNumbers and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
svendiedrichsen committed Dec 4, 2017
1 parent aed742e commit 22ef973
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 182 deletions.
100 changes: 0 additions & 100 deletions src/main/java/org/cactoos/iterable/NaturalNumbers.java

This file was deleted.

80 changes: 0 additions & 80 deletions src/test/java/org/cactoos/iterable/NaturalNumbersTest.java

This file was deleted.

4 changes: 2 additions & 2 deletions src/test/java/org/cactoos/scalar/ReducedTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
package org.cactoos.scalar;

import org.cactoos.iterable.Limited;
import org.cactoos.iterable.NaturalNumbers;
import org.cactoos.iterable.RangeOf;
import org.cactoos.iterable.Skipped;
import org.hamcrest.MatcherAssert;
import org.hamcrest.Matchers;
Expand All @@ -46,7 +46,7 @@ public void skipIterable() throws Exception {
"Can't reduce elements in iterable",
new Reduced<>(
0L, (first, second) -> first + second,
new Limited<>(10, new NaturalNumbers())
new Limited<>(10, new RangeOf.Long(0L, Long.MAX_VALUE))
).value(),
Matchers.equalTo(45L)
);
Expand Down

0 comments on commit 22ef973

Please sign in to comment.