Actually, BYD have less issues with flooding locally where I live than many ICE cars- all the HVDC is sealed, the only real point that would be of concern is the charge port- and that would be fine once its dried out...
I know the local BYD Seal in town has done well over 50cm out near the airport when it was flooded without issue- that would be a 'turn around and find another way' in the Corolla lol
My old Corolla on the other hand can only handle 25cm of water over the road before sucking water into its air intake!!!!
(at least the Merc can handle up to a metre before it becomes an issue- not for the motor, but for the air compressor intake- sucking water into that will destroy the compressor- and without that- no brakes!!!)
But by the time the waters over a metre deep- well, I'll just take the pushie and the tinnie (boat) in instead... deepest I have ever seen was a bit over 1.5m over the road...
We don't get any flow to speak of around here- it just collects and sits, so driving through water that deep isn't an issue- NEVER, EVER drive into 'flowing' water- if you can see it moving- don't drive into it if its deeper than the rims ie if the rubber at the bottom of the tyre is covered, thats enough with a fast flow to push most smaller vehicles sideways...