d-2 equation test