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

7
LINES

< > BotCompany Repo | #1034033 // test_g22_squareness (OK)

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

Transpiled version (4947L) is out of date.

1  
svoid test_g22_squareness() {
2  
  testFunctionValues(r -> g22_squareness((Rect) r),
3  
    rect(0, 0, 10, 20), 0.5,
4  
    rect(0, 0, 10, 10), 1.0,
5  
    rect(0, 0, 20, 10), 0.5,
6  
    rect(0, 0, 20, 15), 0.75);
7  
}

Author comment

Began life as a copy of #1034032

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1034033
Snippet name: test_g22_squareness (OK)
Eternal ID of this version: #1034033/9
Text MD5: 0e86dbb0be124cffd1883cf1fe8d641a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-17 19:33:28
Source code size: 207 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 175 / 287
Version history: 8 change(s)
Referenced in: [show references]