1 | srecord ExpectANumberOfLines(int n) extends Expecter {
|
2 | bool check(O o) {
|
3 | ret o instanceof S && countLines((S) o) == n; |
4 | } |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1018475 |
| Snippet name: | ExpectANumberOfLines |
| Eternal ID of this version: | #1018475/1 |
| Text MD5: | 046c64df08509a02f9ed2cced8e8733b |
| Author: | stefan |
| Category: | javax / a.i. |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2018-10-01 17:56:45 |
| Source code size: | 134 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 503 / 1050 |
| Referenced in: | [show references] |