More Test Cases

This commit is contained in:
aditya-K2 2021-11-12 14:26:06 +05:30
parent 4623f0d63c
commit c943b936b9

View File

@ -29,4 +29,8 @@ func TestGetAsciiValue(t *testing.T) {
t.Errorf("Invalid Value Received for Big alphabets Result Received: %d expecting %d", result, i)
}
}
result, err := GetAsciiValue("")
if err == nil || result != -1 {
t.Errorf("Wrong Result Received for Control Characters %v %v", result, err)
}
}