Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added a logical type comparison method to use when asserting that two values are equal #15

Closed
wants to merge 2 commits into from

Conversation

jblack10101
Copy link

I ran into a type comparison problem when writing a unit test to compare that two arrays were equivalent after adding an element to the array. The value being added to the array was of type 'Integer' and the other values in the array were 'roInteger'. So, I added a logical type comparison method to use when assertEqual is called.

@RokuRnD
Copy link
Contributor

RokuRnD commented Apr 5, 2017

@jblack10101 thank you for the pull request, but it was decided to go with flexible interfaces. Please take a look at v.1.2.x. where you could write your own comparator and use it with BTS__EqValues method. I would appreciate any comments on this from you!

@RokuRnD RokuRnD closed this Apr 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants