when they are equal, the first assertion makes no sense. So imo it looks more natural to first check that before testing the method.

You can also buid a little if statement and change the dimensions when they are equal.