My Day✳All blog articles ↗

A necessary condition may still be insufficient

Test a case where satisfying one part is not enough.

A necessary condition is required; a sufficient condition guarantees the result under the stated rule. Test a case meeting one condition without achieving the result.

10 MB limit and two PDFs: 12 MB and 8 MB
10 MB limit and two PDFs: 12 MB and 8 MB

What to do

  1. State the entire exercise rule and explicitly exclude further requirements.
  2. Test a case meeting one condition but failing another required part.
  3. Compare with a case meeting the whole rule: what is separately necessary and jointly sufficient?

Example

Fictional service: a file is accepted if and only if it is a PDF no larger than 10 MB. A 12 MB PDF fails: format alone is insufficient. An 8 MB PDF passes this fictional rule.

My Day · Windows

My Day can hold the rule, both cases and your conclusion. You check the requirements of any real service.

Buy My Day for Windows ↗