Ted M. Young https://ted.dev
Predicate vs. Condition
Expecting all elements of:
[Book {title='Design Patterns', authors=…yearPublished=1994},
Book {title='Refactoring, 2nd Edition', authors=…yearPublished=2018}]
to match 'published since 1996' predicate but this element did not:
Book {title='Design Patterns', authors=…yearPublished=1994}
Expecting elements:
[Book {title='Design Patterns', authors=…yearPublished=1994}]
of
[Book {title='Design Patterns', authors=…yearPublished=1994},
Book {title='Refactoring, 2nd Edition', authors=…yearPublished=2018}]
to be published in the 21st century
Predicate
Condition