()
| 777 | |
| 778 | #[test] |
| 779 | fn test_exceeds_limit_with_limit() { |
| 780 | let options = ApplyOptions::builder().max_operations(Some(100)).build(); |
| 781 | assert!(!options.exceeds_limit(0)); |
| 782 | assert!(!options.exceeds_limit(99)); |
| 783 | assert!(options.exceeds_limit(100)); |
| 784 | assert!(options.exceeds_limit(101)); |
| 785 | } |
| 786 | |
| 787 | #[test] |
| 788 | fn test_exceeds_limit_zero() { |
nothing calls this directly
no test coverage detected