Line test in SDL