Test triangle sampler