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

5
LINES

< > BotCompany Repo | #1034202 // test_countPingCalls (OK)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (7194L/40K).

svoid test_countPingCalls() {
  assertEqualsVerbose(0L, countPingCalls(-> {}));
  assertEqualsVerbose(1L, countPingCalls(-> { ping_v3(); }));
  assertEqualsVerbose(2L, countPingCalls(-> { ping_v3(); ping_v3(); }));
}

Author comment

Began life as a copy of #1034200

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034202
Snippet name: test_countPingCalls (OK)
Eternal ID of this version: #1034202/3
Text MD5: d0a2be499ea8b98c770cca4c6958725d
Transpilation MD5: 525f676ebbca049112d8f1578ffeb106
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-28 21:47:13
Source code size: 220 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 147 / 220
Version history: 2 change(s)
Referenced in: [show references]