Gradle Test Run :test

testSubstr(String, int, int, String)

summary

10

tests

0

failures

0

skipped

0.008s

duration

100%

successful

Child Name Tests Failures Skipped Duration Success rate
[10] Substr("", "0", "5") = "" testSubstr(String, int, int, String)[10] 1 0 0 0s 100%
[1] Substr("hello world", "0", "5") = "hello" testSubstr(String, int, int, String)[1] 1 0 0 0s 100%
[2] Substr("hello world", "6", "5") = "world" testSubstr(String, int, int, String)[2] 1 0 0 0.001s 100%
[3] Substr("hello world", "11", "5") = "" testSubstr(String, int, int, String)[3] 1 0 0 0.001s 100%
[4] Substr("hello world", "0", "11") = "hello world" testSubstr(String, int, int, String)[4] 1 0 0 0s 100%
[5] Substr("hello world", "0", "20") = "hello world" testSubstr(String, int, int, String)[5] 1 0 0 0s 100%
[6] Substr("hello world", "6", "20") = "world" testSubstr(String, int, int, String)[6] 1 0 0 0s 100%
[7] Substr("hello world", "6", "0") = "" testSubstr(String, int, int, String)[7] 1 0 0 0s 100%
[8] Substr("hello world", "6", "1") = "w" testSubstr(String, int, int, String)[8] 1 0 0 0s 100%
[9] Substr("hello world", "4", "3") = "o w" testSubstr(String, int, int, String)[9] 1 0 0 0s 100%