iseven 1.0.2

Check if the input is an even integer


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

isEven: tests if the past integer is an even number

alt text Coverage Latest version

assert( isEven(0));
assert(!isEven(1));
assert( isEven(2));

assert( isEven(-0));
assert(!isEven(-1));
assert( isEven(-2));

More of a joke, but a nice example how to test with different input types, get the ci set up and other things.

Authors:
  • burner
Dependencies:
none
Versions:
1.0.2 2019-May-24
1.0.1 2019-May-24
1.0.0 2019-May-24
~master 2019-May-24
Show all 4 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 12 downloads total

Score:
0.5
Short URL:
iseven.dub.pm