Unverified Commit 734c9f98 authored by Oleksandr Karpovich's avatar Oleksandr Karpovich Committed by GitHub

clean up debug prints in tests (#367)

Co-authored-by: 's avatarOleksandr Karpovich <oleksandr.karpovich@jetbrains.com>
parent bc86bdc2
......@@ -97,8 +97,6 @@ class DataTest {
val data = Data.makeUninitialized(100)
assertEquals(100, data.bytes.size)
println(data.bytes.joinToString())
val imageInfo = ImageInfo.makeN32Premul(5, 5)
val pixmap = Pixmap.make(imageInfo, data, imageInfo.minRowBytes)
val surface = Surface.makeRasterDirect(pixmap)
......
......@@ -75,7 +75,7 @@ class TextBlobTest {
assertCloseEnough(
expected = Rect(0f, -34.875f, 235.30681f, 8.692932f),
actual = textBlob.blockBounds.also { println(it) },
actual = textBlob.blockBounds,
epsilon = 0.2f // smaller values make tests fail on some platforms
)
......@@ -211,7 +211,7 @@ class TextBlobTest {
46.92145f, -10.1182f, 0.75322014f, -3.1100905f, 49.761448f, 12.051522f, 2.1579552f, -2.6274006f,
42.03841f, 34.527283f
),
actual = textBlob.positions.also { println(it.joinToString()) },
actual = textBlob.positions,
epsilon = eps
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment