skiko/src/jvmTest/kotlin/org/jetbrains/skia/skottie/AnimationTest.jvm.kt [32:43]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun canCreateFromFileWithBuilder() { val animation = AnimationBuilder().buildFromFile( resourcePath("./skottie/test_animation01.json") ) assertEquals("1.42.0", animation.version) assertEquals(Point(32.0f, 32.0f), animation.size) assertEquals(60.0f, animation.fPS) assertEquals(3.0f, animation.duration) assertEquals(0.0f, animation.inPoint) assertEquals(180.0f, animation.outPoint) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - skiko/src/nativeTest/kotlin/org/jetbrains/skia/skottie/AnimationTest.native.kt [25:36]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - fun canCreateFromFileWithBuilder() { val animation = AnimationBuilder().buildFromFile( resourcePath("./skottie/test_animation01.json") ) assertEquals("1.42.0", animation.version) assertEquals(Point(32.0f, 32.0f), animation.size) assertEquals(60.0f, animation.fPS) assertEquals(3.0f, animation.duration) assertEquals(0.0f, animation.inPoint) assertEquals(180.0f, animation.outPoint) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -