I just looked it up. Where I'm staying the tests are 57e, you do it yourself, and get a result within 20mins which is valid for 24h. That definitely is a high cost.
I think the system is explicitly designed to create inconvenience for those who decide not to vaccinate.
IIRC Germany has a strong culture on trying to not force things on people; not sure if that's really true, but it's certainly brought as an example here in Italy.
Also it is a source of income for the places performing the tests (from the government). For instance, many clubs were adapted into testing points.