Skip to content

binary-search;binary-search-tree;custom-set;linked-list;simple-linked-list: use generics? #230

Closed
@jtigger

Description

@jtigger

linked-list's tests only insert and expect integers. However, the tests force the practitioner to generify the class.

We should:

  1. remove type variables from the class signature in the tests and either expect Number or Integer
  2. or expand the test suite to put all kinds of objects in the collection.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions