Warning: session_start(): open(/var/lib/php/sessions/sess_v21hpqqd7032qidv6vifitdlqh, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
test_withPollValue [1032748]

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

6
LINES

< > BotCompany Repo | #1032748 // test_withPollValue

JavaX fragment (include)

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

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