Libraryless. Click here for Pure Java version (6942L/39K).
svoid test_BresenhamLineDrawer() { assertEqualsVerbose(llPts(1, 1, 2, 1, 3, 1, 4, 2, 5, 2, 6, 2), asList(enableScaffolding(new BresenhamLineDrawer(1, 1, 6, 2))); assertEqualsVerbose(llPts(1, 3, 2, 3, 3, 3, 4, 2, 5, 2, 6, 2), asList(enableScaffolding(new BresenhamLineDrawer(1, 3, 6, 2)); assertEqualsVerbose(llPts(10, 10, 10, 9), asList(enableScaffolding(new BresenhamLineDrawer(10, 10, 10, 9)); }
Began life as a copy of #1034441
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034442 | 
| Snippet name: | test_BresenhamLineDrawer (OK) | 
| Eternal ID of this version: | #1034442/6 | 
| Text MD5: | a1d06a3b9d9967d56ca286bdd1d42583 | 
| Transpilation MD5: | 23f7679c678f2a90e1f04fc785f7c27f | 
| Author: | stefan | 
| Category: | javax / imaging | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2022-02-07 21:44:16 | 
| Source code size: | 422 bytes / 8 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 373 / 516 | 
| Version history: | 5 change(s) | 
| Referenced in: | [show references] |