shubhj / instinct

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

Support size operators in place of isEqualTo, isGreateThan, etc. #43

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
So the Java-style code:

expect.that(sequences.size) isEqualTo 8

becomes:

expect.that(sequences.size) == 8

Do the same:
* isGreaterThan: >
* isLessThan: <
* >=, <=, etc.

Original issue reported on code.google.com by tomjad...@gmail.com on 15 Aug 2008 at 6:20

GoogleCodeExporter commented 9 years ago

Original comment by tomjad...@gmail.com on 15 Aug 2008 at 6:21