()
| 2852 | |
| 2853 | #[test] |
| 2854 | fn scroll_content_equals_viewport() { |
| 2855 | // Exactly 10 lines in a 10-line viewport: max scroll is 0. |
| 2856 | assert_eq!(clamped_scroll(0, 1, 10, 10), 0); |
| 2857 | assert_eq!(clamped_scroll(0, -1, 10, 10), 0); |
| 2858 | } |
| 2859 | |
| 2860 | #[test] |
| 2861 | fn scroll_down_one() { |
nothing calls this directly
no outgoing calls
no test coverage detected