Added standard library reference resolver test cases with equals and toString functions.
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
val x = 5.<ref>equals(5)
|
||||||
|
//jet/Numbers.jet:equals
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
val x = 5.<ref>toString()
|
||||||
|
//jet/Library.jet:toString
|
||||||
+8
@@ -51,6 +51,14 @@ public class StandardLibraryReferenceResolverTest extends ResolveTestCase {
|
|||||||
doTest();
|
doTest();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void testEquals() throws Exception {
|
||||||
|
doTest();
|
||||||
|
}
|
||||||
|
|
||||||
|
public void testToString() throws Exception {
|
||||||
|
doTest();
|
||||||
|
}
|
||||||
|
|
||||||
public void testTimes() throws Exception {
|
public void testTimes() throws Exception {
|
||||||
doTest();
|
doTest();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user