Skip to content
#

unit-testing

Here are 3,516 public repositories matching this topic...

SwifterSwift
TheStalwart
TheStalwart commented Mar 11, 2021

🚀
Is your feature request related to a problem? Please describe.
Doc string states:
Date().weekday -> 5 // fifth day in the current week.
Guess what, 5 is not friday. It's thursday. It makes some sense after i dug deeper, but as a programmer, i assumed monday could be 0 or 1, therefore thursday should be 3 or 4. Monday is 2! Because sunday is 1!

**Describe the solution you'd li

sinon
cake
fluentassertions
jnyrup
jnyrup commented Jun 24, 2021

Description

Is there any difference between ContainItemsAssignableTo and AllBeAssignableTo?
Spending five minutes looking at them, they seem to test the same scenario.
(With the exception, that AllBeAssignableTo has special handling for IEnumerable<Type>)

In contrast to other Contain methods, ContainItemsAssignableTo expects all elements to satisfy and not just a subset

Improve this page

Add a description, image, and links to the unit-testing topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the unit-testing topic, visit your repo's landing page and select "manage topics."

Learn more