- int p=s1tos2.getPosition(i);
- char s2c=_s2.getCharAt(i-_s2.getStart());
- char s1c=_s1.getCharAt(p-_s1.getStart());
- System.out.println("Position in s2: " + i +s2c
- + " maps to position in s1: " +p+s1c);
- assertEquals(s1c,s2c);
+ int p = s1tos2.getPosition(i);
+ char s2c = _s2.getCharAt(i - _s2.getStart());
+ char s1c = _s1.getCharAt(p - _s1.getStart());
+ System.out.println("Position in s2: " + i + s2c
+ + " maps to position in s1: " + p + s1c);
+ assertEquals(s1c, s2c);