Closed
Description
linked-list
's tests only insert and expect integers. However, the tests force the practitioner to generify the class.
We should:
- remove type variables from the class signature in the tests and either expect
Number
orInteger
- or expand the test suite to put all kinds of objects in the collection.
What do you think?