Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1018475 // ExpectANumberOfLines

JavaX fragment (include)

srecord ExpectANumberOfLines(int n) extends Expecter {
  bool check(O o) {
    ret o instanceof S && countLines((S) o) == n;
  }
}

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: 282 / 824
Referenced in: [show references]