get.test.direction function

get.test.direction