Libraryless. Click here for Pure Java version (6942L/39K).
1 | svoid test_BresenhamLineDrawer() {
|
2 | assertEqualsVerbose(llPts(1, 1, 2, 1, 3, 1, 4, 2, 5, 2, 6, 2), |
3 | asList(enableScaffolding(new BresenhamLineDrawer(1, 1, 6, 2))); |
4 | assertEqualsVerbose(llPts(1, 3, 2, 3, 3, 3, 4, 2, 5, 2, 6, 2), |
5 | asList(enableScaffolding(new BresenhamLineDrawer(1, 3, 6, 2)); |
6 | assertEqualsVerbose(llPts(10, 10, 10, 9), |
7 | asList(enableScaffolding(new BresenhamLineDrawer(10, 10, 10, 9)); |
8 | } |
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: | 374 / 517 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |