()
| 2859 | |
| 2860 | #[test] |
| 2861 | fn scroll_down_one() { |
| 2862 | // 100 lines, viewport 20, start at 0: scroll to 1. |
| 2863 | assert_eq!(clamped_scroll(0, 1, 100, 20), 1); |
| 2864 | } |
| 2865 | |
| 2866 | #[test] |
| 2867 | fn scroll_page_down() { |
nothing calls this directly
no outgoing calls
no test coverage detected