Skip to content

Conversation

@chrkhl
Copy link

@chrkhl chrkhl commented Oct 20, 2018

I added the following two assertions:

five.isDivisibleByFive();
five.containsFive();

Examples:

five.isDivisibleByFive(8); // false
five.isDivisibleByFive(15); // true
five.containsFive(154); // true
five.containsFive('this string contains 5, or not?'); // true
five.containsFive([ 2, 5, 17 ]); // true
five.containsFive([ 8, 14, 53 ]); // true

Maybe you find it somehow useful 😉

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.

1 participant