DoorDirection and CalcIndex tests now passing.