Skip to content

Commit

Permalink
SpotlessApply
Browse files Browse the repository at this point in the history
  • Loading branch information
tillschallau committed Aug 19, 2024
1 parent d223359 commit fb0b69d
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,12 @@ class SerializableIntResultTest {
assertEquals(segmentCountMetric.evaluate(simpleSegment1), 1)
val serializedResultGroundTruth = segmentCountMetric.getSerializableResults()
val deserializedResultGroundTruth =
serializedResultGroundTruth.map {
getJsonContentFromString(it.getJsonString())
}
serializedResultGroundTruth.map { getJsonContentFromString(it.getJsonString()) }

assertEquals(segmentCountMetric.evaluate(simpleSegment1), 2)
val serializedResultCompare = segmentCountMetric.getSerializableResults()
val deserializedResultCompare =
serializedResultCompare.map {
getJsonContentFromString(it.getJsonString())
}
serializedResultCompare.map { getJsonContentFromString(it.getJsonString()) }

assertNotEquals(deserializedResultGroundTruth, deserializedResultCompare)
}
Expand Down

0 comments on commit fb0b69d

Please sign in to comment.