()
| 2865 | |
| 2866 | #[test] |
| 2867 | fn scroll_page_down() { |
| 2868 | // 100 lines, viewport 20, start at 0: scroll to 20. |
| 2869 | assert_eq!(clamped_scroll(0, 20, 100, 20), 20); |
| 2870 | } |
| 2871 | |
| 2872 | #[test] |
| 2873 | fn scroll_page_down_clamps_at_bottom() { |
nothing calls this directly
no outgoing calls
no test coverage detected