Skip to content

fix FemalesWithChildrenByChildAgeCSfilter - #502

Merged
dav-sonn merged 3 commits into
developfrom
am/fix-child-age-filter
Aug 5, 2026
Merged

fix FemalesWithChildrenByChildAgeCSfilter#502
dav-sonn merged 3 commits into
developfrom
am/fix-child-age-filter

Conversation

@amorison

@amorison amorison commented Aug 5, 2026

Copy link
Copy Markdown

Closes #499

This introduces the filters I've been working on as they're already helpful even without the newer jasmine API I'm currently working on.

This filter has two issues:
- the check it was attempting to perform was incorrectly implemented;
- the check it was attempting to perform was not the desired one: it
  tried to check that all children are in the given age range, whereas
  checking that any child is in the given range is the desired
  behaviour.

This commit also introduces the new `Filters` "class" which is a
collection of static methods to easily build predicates on a `Person`.
This will become most useful when introducing the newer APIs currently
in development in jasmine.
@amorison
amorison requested a review from dav-sonn August 5, 2026 13:39
@dav-sonn
dav-sonn merged commit 51196ce into develop Aug 5, 2026
6 checks passed
@amorison
amorison deleted the am/fix-child-age-filter branch August 5, 2026 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants