assertSelectionRange

Assert that the main selection covers the range from from to to.

Unlike assertSelection, this checks the normalized from/to positions regardless of selection direction.