peterlck / hamcrest

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

Enhancement: matcher that asserts an element occurs before another element in an iterator #174

Open GoogleCodeExporter opened 10 years ago

GoogleCodeExporter commented 10 years ago
I need a matcher that says that:
   given an actual iterator i
   given an expected element e1
   given an expected element e2 :
      e1 is in i
      e2 is in i
      e1 is before e2 in i

Original issue reported on code.google.com by lexicals...@gmail.com on 7 Feb 2012 at 1:40