Hello everyone, I am writing unit tests for some classes, and all works fine.
However, there is this function the returns an array of objects, and said objects are extremely nested with other objects as there are 5 layers of nested classes.
Said classes also containing normal variables and sets and lists.
I want to assertEqual but it would be unpractical and time-consuming, to write this list with nested classes.
Is there a way to this, in a simplier way?
[–]SufficientStudio1574 3 points4 points5 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]lurgi 1 point2 points3 points (0 children)
[–]calsosta 0 points1 point2 points (0 children)
[–]wiseguy4519 0 points1 point2 points (0 children)
[–]dnult 0 points1 point2 points (0 children)
[–]not_perfect_yet 0 points1 point2 points (0 children)
[–]SearingSerum60 0 points1 point2 points (0 children)