Closed
Description
Description
Current implementation of deepEquals
doesn't support comparing of nullable reference types.
This is not a problem for non-parametrized tests because for each execution we can determine if the value is null or not and assert it as follows:
assertNull(actual.RefValue)
for the nullable case
assertEquals(expected.RefValue, actual.RefValue)
for the non-nullable case
For parametrized tests we require something like:
assertEquals(expected.RefValue : Any?, actual.RefValue: Any?)
It is not still implemented. We need to add this case to utbot-sampes
. This test is going to pass for non-parametrized tests and fail for parametrized ones.
Metadata
Metadata
Assignees
Type
Projects
Status
Done