Speaker test
How to test
Turn the volume down a little first. Left and Right play a short chime on that channel alone, so it should come only from that side, and Both plays it on the two together. The sweep glides from 20 Hz to 20 kHz over 12 seconds while the figure under the buttons shows where it is: listen for buzzing or rattling on the low notes, and note where the top end fades out. Hearing above about 15 kHz fades with age, and small speakers give little at the very bottom, so silence at either end is normal.
When left and right sound the same
If Play stereo audio as mono is on in System Settings › Accessibility › Audio, every sound plays from both sides. If one side is quieter, the Balance slider in System Settings › Sound › Output & Input › Output may have moved off the middle.
A Mac mini has a single built-in speaker, so left and right come from the same place. Use headphones or external speakers to check the two channels there.
When there is no sound
System Settings › Sound › Output & Input › Output shows which device the Mac plays through. Connected AirPods or a display with speakers can take the sound without you noticing, so pick the one you want to test there.
Mole's menu bar panel shows the battery of connected AirPods, Magic Keyboard, Magic Mouse and Magic Trackpad, so headphones that keep dropping out can be checked for a low battery there.