MCPcopy Index your code
hub / github.com/AI45Lab/Code / test_model_pricing_clone

Function test_model_pricing_clone

core/src/telemetry.rs:693–698  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

691
692 #[test]
693 fn test_model_pricing_clone() {
694 let pricing = ModelPricing::new(3.0, 15.0);
695 let cloned = pricing.clone();
696 assert_eq!(cloned.input_per_million, 3.0);
697 assert_eq!(cloned.output_per_million, 15.0);
698 }
699
700 #[test]
701 fn test_model_pricing_debug() {

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected