I'd be inclined to put all the assert()s after all the Set()s.  That way, if setting one variable messes up another, you'll notice.