Modern primality tests for general numbers n can be divided into two main classes, probabilistic (or "Monte Carlo") and deterministic algorithms.
How many modern types of primality tests for general numbers n are there? 
two main classes