| let list = seq.list(); | |
| for x in range(0, 10) { | |
| if x == 1 { | |
| continue; | |
| } else { | |
| if x == 2 { | |
| continue; | |
| }elsif x == 3 { | |
| continue; | |
| } else { | |
| if x == 4 { | |
| x = x + 1; | |
| } else { | |
| if x > 7 { | |
| break; | |
| } elsif x >0 { | |
| x = x - 1; | |
| } | |
| } | |
| } | |
| } | |
| seq.add(list, x); | |
| } | |
| j.assertEquals(seq.list(0,5,4,5,6), list); |