tomjadams / instinct-github-import

Automatically exported from code.google.com/p/instinct
0 stars 0 forks source link

Add more matchers for FJ data types #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
To continue the Revolution, instinct needs a few more matchers of data
types from functional java:
eg.
expect.that(Option.<Integer>some(5).isSomeWith(5); //horrible name, I think

A list of potential matchers:
* Option
** isNone
** isSome
** isSomeWith(value)

* Either
** isLeft
** isRight
** isXxxProjectedWith(value)

Feedback on the names we should adopt here, and more matchers, would be good.

Original issue reported on code.google.com by nkp...@gmail.com on 28 Jul 2008 at 7:03

GoogleCodeExporter commented 9 years ago
Option and Either are there now (thanks Tom!)
fj.data.HashMap next. I swear I'll do it!

Original comment by nkp...@gmail.com on 6 Aug 2008 at 4:42