diff --git a/src/test/java/org/solovyev/android/calculator/TextHighlighterTest.java b/src/test/java/org/solovyev/android/calculator/TextHighlighterTest.java
index 19cd40d0..3ad1639c 100644
--- a/src/test/java/org/solovyev/android/calculator/TextHighlighterTest.java
+++ b/src/test/java/org/solovyev/android/calculator/TextHighlighterTest.java
@@ -53,5 +53,9 @@ public class TextHighlighterTest {
" ln(8)*log(8) => ln(8)*og(8) FIXED\n" +
" copy/paste ln(8)*log(8)\n" +
" 6!^2 ERROR");
+
+ Assert.assertEquals("sin(2)", textHighlighter.process("sin(2)").toString());
+ Assert.assertEquals("atanh(2)", textHighlighter.process("atanh(2)").toString());
+
}
}
diff --git a/src/test/java/org/solovyev/android/calculator/math/MathTypeTest.java b/src/test/java/org/solovyev/android/calculator/math/MathTypeTest.java
index 642a3fc5..38c03982 100644
--- a/src/test/java/org/solovyev/android/calculator/math/MathTypeTest.java
+++ b/src/test/java/org/solovyev/android/calculator/math/MathTypeTest.java
@@ -41,6 +41,8 @@ public class MathTypeTest {
Assert.fail();
} catch (IllegalArgumentException e) {
}
+
+ Assert.assertEquals("atanh", MathType.getType("atanh", 0).getMatch());
}
/* @Test