ns = NumericShaper.getContextualShaper(NumericShaper.TAMIL | NumericShaper.DEVANAGARI);
// test text starts with the TAMIL context digit char and ends with nonDigit char
chars = testStringContext3.toCharArray();
ns.shape(chars, 0, chars.length, context);
for (int i=0; i < chars.length; i++){
assertEquals("shaped char at pos[" + i + "] not equals to the golden one", (int)goldenTamilDevanagariStringContext3.charAt(i), chars[i]);
}