Generate samples by inverse transforms, rejection sampling, importance sampling, and composition methods, then check whether a simulator matches its target law.