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

6
LINES

< > BotCompany Repo | #1034975 // test_modRange_incl (OK)

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

Libraryless. Click here for Pure Java version (5117L/28K).

1  
svoid test_modRange_incl() {
2  
  assertEqualsVerbose(4, modRange_incl(4, 1, 8));
3  
  assertEqualsVerbose(8, modRange_incl(8, 1, 8));
4  
  assertEqualsVerbose(1, modRange_incl(9, 1, 8));
5  
  assertEqualsVerbose(8, modRange_incl(0, 1, 8));
6  
}

Author comment

Began life as a copy of #1034974

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034975
Snippet name: test_modRange_incl (OK)
Eternal ID of this version: #1034975/2
Text MD5: 37a7c8d953990c55c2743826ba554a5f
Transpilation MD5: 0f665f815bcca69ebf69d376db479514
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-19 19:20:26
Source code size: 235 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 136 / 189
Version history: 1 change(s)
Referenced in: [show references]