MCPcopy Create free account
hub / github.com/AI45Lab/Code / test_dispatch_cost

Function test_dispatch_cost

core/src/commands.rs:471–477  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

469
470 #[test]
471 fn test_dispatch_cost() {
472 let reg = CommandRegistry::new();
473 let ctx = test_ctx();
474 let out = reg.dispatch("/cost", &ctx).unwrap();
475 assert!(out.text.contains("5000"));
476 assert!(out.text.contains("0.0123"));
477 }
478
479 #[test]
480 fn test_dispatch_model_show() {

Callers

nothing calls this directly

Calls 2

test_ctxFunction · 0.85
dispatchMethod · 0.45

Tested by

no test coverage detected