fix digital.c test

Signed-off-by: gootoomoon <gootoomoon@gmail.com>