()
| 708 | |
| 709 | #[test] |
| 710 | fn test_default_model_pricing_all_positive() { |
| 711 | let pricing = default_model_pricing(); |
| 712 | for (model, price) in pricing.iter() { |
| 713 | assert!( |
| 714 | price.input_per_million > 0.0, |
| 715 | "Model {} has non-positive input cost", |
| 716 | model |
| 717 | ); |
| 718 | assert!( |
| 719 | price.output_per_million > 0.0, |
| 720 | "Model {} has non-positive output cost", |
| 721 | model |
| 722 | ); |
| 723 | } |
| 724 | } |
| 725 | |
| 726 | #[test] |
| 727 | fn test_default_model_pricing_output_greater_than_input() { |
nothing calls this directly
no test coverage detected