|
|
| version 1.2, 2017/12/07 00:55:12 | version 1.7, 2023/11/18 13:02:32 |
|---|---|
| Line 1 | Line 1 |
| @main[] | |
| code coverage tests: | code coverage tests: |
| 1. int | 1. int |
| Line 25 code coverage tests: | Line 26 code coverage tests: |
| 4.6 ^try-catch{ ^inet:ip2name[ip; $.no-such-option[] ] } | 4.6 ^try-catch{ ^inet:ip2name[ip; $.no-such-option[] ] } |
| 4.7 ^try-catch{ ^inet:ip2name[ip; $.ipv[invalid] ] } | 4.7 ^try-catch{ ^inet:ip2name[ip; $.ipv[invalid] ] } |
| 4.8 ^try-catch{ ^inet:ip2name[1.1.1.300] } | 4.8 ^try-catch{ ^inet:ip2name[1.1.1.300] } |
| 4.9 ^try-catch{ ^inet:ip2name[1.1.1.1; $.ipv[6] ] } | 4.9 ^try-catch-partial(28){ ^inet:ip2name[1.1.1.1; $.ipv[6] ] } |
| 4.11 ^try-catch{ ^inet:name2ip[$empty] } | 4.11 ^try-catch{ ^inet:name2ip[$empty] } |
| 4.12 ^try-catch{ ^inet:name2ip[name; $.no-such-option[] ] } | 4.12 ^try-catch{ ^inet:name2ip[name; $.no-such-option[] ] } |
| 4.13 ^try-catch{ ^inet:name2ip[no-such-domain.артлебедев.рф; $.ipv[6] ] } | 4.13 ^try-catch-partial(70){ ^inet:name2ip[no-such-domain.артлебедев.рф; $.ipv[6] ] } |
| 4.14 ^inet:name2ip[test.артлебедев.рф; $.ipv[6] ] | 4.14 ^try-catch{ ^inet:name2ip[test.артлебедев.рф; $.ipv[6] ] } |
| 5. math | 5. math |
| 5.1 ^math:random(1) | 5.1 ^math:random(1) |
| Line 43 code coverage tests: | Line 44 code coverage tests: |
| 5.10 ^try-catch{ ^math:convert[1](17;10) } | 5.10 ^try-catch{ ^math:convert[1](17;10) } |
| 5.11 ^try-catch{ ^math:convert[1](10;17) } | 5.11 ^try-catch{ ^math:convert[1](10;17) } |
| 5.12 ^math:convert[$empty](10;10) | 5.12 ^math:convert[$empty](10;10) |
| 5.13 ^math:convert[+FF](16;10) | 5.13 ^math:convert[ +FF ](16;10) |
| 6. string | 6. string |
| 6.1 ^try-catch{ $s[] ^s.int[] } | 6.1 ^try-catch{ $s[] ^s.int[] } |
| Line 61 code coverage tests: | Line 62 code coverage tests: |
| 6.13 ^try-catch{ ^string:unescape[no-such-mode;anything] } | 6.13 ^try-catch{ ^string:unescape[no-such-mode;anything] } |
| 6.14 ^try-catch{ ^string:unescape[js;any%20thing] } | 6.14 ^try-catch{ ^string:unescape[js;any%20thing] } |
| 6.15 ^try-catch{ ^s.save[no-such-mode;file.txt] } | 6.15 ^try-catch{ ^s.save[no-such-mode;file.txt] } |
| 7. file | |
| 7.1 ^try-catch{ ^file::base64[1;2] } | |
| 7.2 ^try-catch{ ^file::base64{1}[2;3] } | |
| 7.3 ^try-catch{ ^file::base64[text;fname.text;XXXXXX; $.no-such-option[] ] } | |
| 7.4 ^try-catch{ ^file::base64[text;fname.text;XXXXXX; $.strict(true) ] } | |
| 7.5 $f[^file::base64[text;fname.text;XXXXXX; $.content-type[strange] ]] ^json:string[$f] | |
| 7.10 ^file:fullpath[/fname.txt] | |
| 7.11 ^file:fullpath[fname.txt] | |
| 7.15 ^try-catch{ ^file:list[.; $.stat(true) $.filter[.*] $.no-such-options[] ] } | |
| 7.15 ^try-catch{ ^file:list[.; $.filter[ $.hash[] ] ] } | |
| @try-catch-partial[limit;jCode] | |
| ^try{$jCode}{ | |
| $exception.handled(true) | |
| Type: $exception.type, | |
| Source: $exception.source, | |
| Comment: ^exception.comment.left($limit) | |
| } |