Good advice and also applies to wind direction. Go out into and return with.If you can arrange it, ride uphill on the way out and downhill on the way back. If you run out of battery or have a failure, the pedaling is easier getting home.
OP has sound advice for any make or model of eBike and what has held me in good stead for the past 7yrs.. I do admit to over doing it a few times and having a bit of a struggle getting back to home base. While some systems do the calculations for you there is no reason to fully depend on them when a bit of simple math that you can do on the fly will suffice. I might add that for me knowing my average wh/mi use at different speed/assist levels is important and I use it as a factor all the time when mapping out rides.