[...] is literal for sequence.
should be is assertEquals() which can compare sequences.
given list is equivalent to
{
list<int> aList = new linkedlist<int>;
aList.addAll(...);
aList.someListOperation();
...
}
(Project source code is here.)

"Business software doesn't have to be a bolted-together mess"
{
list<int> aList = new linkedlist<int>;
aList.addAll(...);
aList.someListOperation();
...
}

0 comments:
Post a Comment