More of the sliced turkey for lunch. On white bread today, because you can only be so healthy
I'm dealing with a thing that gets a bunch of data covering date ranges, which has to be processed so that any overlapping ranges are made non-overlapping, with the winner to cover the overlapping period being determined according to a couple of other fields. Currently up to eighteen test cases just for dealing with two of them, and I haven't even got to the case where one lies in the middle of the other so has to be either entirely eliminated or the other has to be split in two around it
The fun starts when one overlaps two others of different priorities relative to it…
I'm dealing with a thing that gets a bunch of data covering date ranges, which has to be processed so that any overlapping ranges are made non-overlapping, with the winner to cover the overlapping period being determined according to a couple of other fields. Currently up to eighteen test cases just for dealing with two of them, and I haven't even got to the case where one lies in the middle of the other so has to be either entirely eliminated or the other has to be split in two around it
The fun starts when one overlaps two others of different priorities relative to it…
Comment