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

6
LINES

< > BotCompany Repo | #1032748 // test_withPollValue

JavaX fragment (include)

svoid test_withPollValue() {
  WithPollValue<S> p = withPollValue(5, () -> "5");
  assertEqualsVerbose("5", p!);
  p = withPollValue(5, "15");
  assertEqualsVerbose("15", p!);
}

Author comment

Began life as a copy of #1032674

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032748
Snippet name: test_withPollValue
Eternal ID of this version: #1032748/1
Text MD5: 321fbdf066a71a22b3c2f37c82ef3d35
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-04 07:22:05
Source code size: 182 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 56 / 73
Referenced in: [show references]