import digitDistanceNumber

def test_case1() :
	assert digitDistanceNumber.digitDistanceNumber(2744) == 530

def test_case2() :
        assert digitDistanceNumber.digitDistanceNumber(330) == 3

def test_case3() :
        assert digitDistanceNumber.digitDistanceNumber(333) == 0

def test_case4() :
        assert digitDistanceNumber.digitDistanceNumber(19) == 8 

