Leap year Kata is one of the classic Katas for starting practising TDD.
Leap year Kata description:
A year is a leap year if it is divisible by 4.
A year is not a leap year if it is divisible by 4 and 100.
A year is a leap year if it is divisible by 4, 100 and 400.
In case you stuck, or you want to see another solution, check my repo with the Kata solved in Swift.