The test uses riot threads to calculate the factorial of 12, with one thread for each multiplication. The core mutex is used for synchronization.