0.0
No commit activity in last 3 years
No release in over 3 years
Custom test-unit assertions for checking set equality and other set functions
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

 Project Readme

SetAssertions

At the moment, the only test this gem provides is: assert_equal_set

This checks that, despite order, two arrays contain the same scalars and object references.

Why this assertion?

Because invariable I want to check that a set of values was added to a collection, but not need to know the order of them.

If you've ever had a fault like:

Expected [:a,:b] but got [:b,:a]

... then you know what I mean.

Further Assertions

Want more? fork, add, make pull request OR add a ticket for it and I'll add it :D

Continuous Integration

See how it's been building at TravisCI