Skip to content

Commit

Permalink
test identity law
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchambers committed Dec 31, 2017
1 parent 7a2c09f commit 7dab8da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ exports.extend = {

exports.filterable = {
distributivity: test(x => filterable.distributivity(equality)(Id[fl.of]([0, 1, 2, 3, 4]))(x => x % 2 === 0)(x => x > 0)),
identity: test(x => filterable.identity(equality)(Id[fl.of]([1, 2, 3]))),
annihilation: test(x => filterable.annihilation(equality)(Id[fl.of]([1, 2, 3]))(Id[fl.of]([4, 5, 6]))),
};

Expand Down

0 comments on commit 7dab8da

Please sign in to comment.