Pregunta de entrevista de Proton, privacy by default

How could you unit test a python program that contains stochastic elements?