I have the strongest opinion, that library authors must provide the Test API alongside the Code API.

The OSS library authors must supply the framework to make testing external code that uses their library a charm.

That’s how my library Finitomata talks to the code users who have not figured out yet how to use the testing framework shipped with Finitomata.