refs #35 serializatino framework refactored: implementation put in open methods of Obj/ObjClass for flexibility
This commit is contained in:
1 parent
6ab438b1f6
commit
a9f65bdbe3
20 files changed
+340
-203
No files matched your search
@@ -309,9 +309,9 @@ class LynonTests {
|
||||
assertEquals( -1 * π, -π )
|
||||
""".trimIndent())
|
||||
}
|
||||
|
||||
|
||||
@Test
|
||||
fun testIntsNulls() = runTest{
|
||||
fun testSimpleTypes() = runTest{
|
||||
testScope().eval("""
|
||||
testEncode(null)
|
||||
testEncode(0)
|
||||
@@ -326,6 +326,9 @@ class LynonTests {
|
||||
testEncode(Instant.now().truncateToSecond())
|
||||
testEncode(Instant.now().truncateToMillisecond())
|
||||
testEncode(Instant.now().truncateToMicrosecond())
|
||||
|
||||
testEncode("Hello, world".encodeUtf8())
|
||||
|
||||
""".trimIndent())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user