assertSelection

Assert that the main selection has the given anchor and head.