Skip to content

Commit

Permalink
Added idea for a test.
Browse files Browse the repository at this point in the history
  • Loading branch information
GlenKPeterson committed Dec 31, 2021
1 parent 1c96ab9 commit 1ce6deb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/test/java/org/organicdesign/fp/xform/XformTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
import org.organicdesign.fp.collections.RangeOfInt;
import org.organicdesign.fp.oneOf.Option;

import java.util.ArrayList;
Expand Down Expand Up @@ -907,4 +908,12 @@ public void takeAndDrop() {
new Integer[]{4, 5, 6});
}
// Above here taken from SequenceTest.

// @Test
// public void testDropOpSpeed() {
// System.out.println("Start");
// assertArrayEquals(new Integer[]{Integer.MAX_VALUE - 1},
// Xform.of(RangeOfInt.of(0, Integer.MAX_VALUE)).drop(Integer.MAX_VALUE - 1).toMutList().toArray());
// System.out.println("End");
// }
}

0 comments on commit 1ce6deb

Please sign in to comment.