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 or Integer
- or expand the test suite to put all kinds of objects in the collection.
What do you think?
linked-list's tests only insert and expect integers. However, the tests force the practitioner to generify the class.We should:
NumberorIntegerWhat do you think?