Problem 2704 · Easy

To Be Or Not To Be

Build an expect helper with toBe and notToBe methods that compare values strictly and throw when the check fails.

Open the interactive visualisation