franztesca
09/24/2023, 11:13 AMval byteArray1 = generateByteArrayInAFancyWay1()
val byteArray2 = generateByteArrayInAFancyWay2()
byteArray1 shouldBe byteArray2 // here the message becomes deceiving if the bug is in generateByteArrayInAFancyWay2()
What is the best way to assert here, with minimal and semantically expressive code and meaningful assertion error message?sam
09/25/2023, 12:15 AMalex.krupa
09/26/2023, 6:46 AM