JAL-2541 revised cut with features (work in progress)
[jalview.git] / test / jalview / commands / EditCommandTest.java
index 155f00e..7f1a432 100644 (file)
@@ -736,13 +736,9 @@ public class EditCommandTest
      */
     SequenceI[] sqs = new SequenceI[] { seq0 };
 
-    // goal is to have this passing for all from/to values!!
-    // for (int from = 0; from < seq0.getLength(); from++)
-    // {
-    // for (int to = from; to < seq0.getLength(); to++)
-    for (int from = 1; from < 3; from++)
+    for (int from = 0; from < seq0.getLength(); from++)
     {
-      for (int to = 2; to < 3; to++)
+      for (int to = from; to < seq0.getLength(); to++)
       {
         testee.appendEdit(Action.CUT, sqs, from, (to - from + 1),
                 alignment, true);