Closed Taluu closed 5 years ago
Sorry. Clicked close rather than comment.
Np. :}
I went for at least
and at most
then.
And some unit tests please. Prove that it all works.
I also thought about adding tests, but I saw that none of the current assertions have those, so I wasn't sure on how to test it.
Should I create a new assertion test case then ?
I also thought about adding tests, but I saw that none of the current assertions have those, so I wasn't sure on how to test it.
Should I create a new assertion test case then ?
https://github.com/beberlei/assert/blob/master/tests/Assert/Tests/AssertTest.php
We currently have 100% code coverage, so, yes, tests please!!!
I do need to break the tests up into logical/associated assertions to make this all a little easier to see.
AssertTest
should also be renamed (before splitting it ?) to AssertionTest
so that it is quicker and easier to map it.
I'll add the tests then and do the same for the other PRs.
Thank you.
Tested added everywhere. :}
I'll look at this later today or during the weekend.
Taken your code and incorporated the additional countable types into the doc block typehint and unit tests.
Either
at least
andat most
, orno fewer
andno more
.