Jump to content

Module talk:IPAddress/sandbox/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

6 of 32 tests failed.

test_isIp
Text Expected Actual
checkY {{#invoke:IPAddress/sandbox|isIp|200.200.200.200}} 4 4
☒N {{#invoke:IPAddress/sandbox|isIp| 200.200.200.200}} 4
☒N {{#invoke:IPAddress/sandbox|isIp|200.200.200.200 }} 4
checkY {{#invoke:IPAddress/sandbox|isIp|200.200.256.200}}
checkY {{#invoke:IPAddress/sandbox|isIp|200.200.200.200.}}
checkY {{#invoke:IPAddress/sandbox|isIp|200.200.200}}
checkY {{#invoke:IPAddress/sandbox|isIp|200.200.200.2d0}}
checkY {{#invoke:IPAddress/sandbox|isIp|0.0.0.0}} 4 4
☒N {{#invoke:IPAddress/sandbox|isIp|00.00.00.00}} 4
checkY {{#invoke:IPAddress/sandbox|isIp|100.100.020.100}}
checkY {{#invoke:IPAddress/sandbox|isIp|255.255.255.255}} 4 4
checkY {{#invoke:IPAddress/sandbox|isIp|-1.0.0.0}}
checkY {{#invoke:IPAddress/sandbox|isIp|200000000000000000000000000000000000000000000000000000000000000000000000000000.200.200.200}}
checkY {{#invoke:IPAddress/sandbox|isIp|00000000000005.10.10.10}}
checkY {{#invoke:IPAddress/sandbox|isIp|00AB:0002:3008:8CFD:00AB:0002:3008:8CFD}} 6 6
checkY {{#invoke:IPAddress/sandbox|isIp|00ab:0002:3008:8cfd:00ab:0002:3008:8cfd}} 6 6
checkY {{#invoke:IPAddress/sandbox|isIp|00aB:0002:3008:8cFd:00Ab:0002:3008:8cfD}} 6 6
☒N {{#invoke:IPAddress/sandbox|isIp|00AB:00002:3008:8CFD:00AB:0002:3008:8CFD}} 6
checkY {{#invoke:IPAddress/sandbox|isIp|00AB:10002:3008:8CFD:00AB:0002:3008:8CFD}}
☒N {{#invoke:IPAddress/sandbox|isIp|:0002:3008:8CFD:00AB:0002:3008:8CFD}} 6
☒N {{#invoke:IPAddress/sandbox|isIp|00AB:0002:3008:8CFD:00AB:0002:3008:}} 6
checkY {{#invoke:IPAddress/sandbox|isIp|AB:02:3008:8CFD:AB:02:3008:8CFD}} 6 6
checkY {{#invoke:IPAddress/sandbox|isIp|AB:02:3008:8CFD:AB:02:3008:8CFD:02}}
checkY {{#invoke:IPAddress/sandbox|isIp|AB:02:3008:8CFD::02:3008:8CFD}} 6 6
checkY {{#invoke:IPAddress/sandbox|isIp|AB:02:3008:8CFD::02:3008:8CFD:02}}
checkY {{#invoke:IPAddress/sandbox|isIp|AB:02:3008:8CFD::02::8CFD}}
checkY {{#invoke:IPAddress/sandbox|isIp|GB:02:3008:8CFD:AB:02:3008:8CFD}}
checkY {{#invoke:IPAddress/sandbox|isIp|::}} 6 6
checkY {{#invoke:IPAddress/sandbox|isIp|::1}} 6 6
checkY {{#invoke:IPAddress/sandbox|isIp|0::}} 6 6
checkY {{#invoke:IPAddress/sandbox|isIp|0::0}} 6 6
checkY {{#invoke:IPAddress/sandbox|isIp|2:::3}}

Start a discussion about improving the Module:IPAddress/sandbox/testcases page

Start a discussion