Of course, there are a lot of programs for Mac to test the SDD/HDD speed.
You can choose third-party disk speed test software for Mac such as iBoysoft DiskGeeker, Blackmagic Disk Speed Test, NovaBench, and GeekBench. Among them, iBoysoft DiskGeeker is highly recommended, it supports speed testing for both internal and external hard drives.
What's more, this versatile tool also helps to use BitLocker drive and NTFS drive on Mac, encrypt/unlock drive using FileVault and BitLocker, clean junk files to release disk space, clone drives, back up APFS volumes, etc.