Skip to content

Generic overloads for CollectionAssert #989

@daniel-lerch

Description

@daniel-lerch

Motivation

I have been using CollectionAssert for quite some time but when I want to check whether the contents of a ReadOnlyCollection<T> match my expectation a cannot use CollectionAssert because many generic collection interfaces do not inherit from ICollection.

Proposal

Add new generic overloads of all methods to take IReadOnlyCollection<T> or IEnumerable<T> instead of ICollection.

AB#2112229

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions