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

Function test_boundaries_injected_for_every_style

core/src/prompts.rs:677–691  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

675
676 #[test]
677 fn test_boundaries_injected_for_every_style() {
678 for style in [
679 AgentStyle::GeneralPurpose,
680 AgentStyle::Plan,
681 AgentStyle::Verification,
682 AgentStyle::Explore,
683 AgentStyle::CodeReview,
684 ] {
685 let built = SystemPromptSlots::default().with_style(style).build();
686 assert!(
687 built.contains("## Boundaries"),
688 "style {style:?} missing Boundaries section"
689 );
690 }
691 }
692
693 #[test]
694 fn test_boundaries_not_duplicated_in_general_purpose() {

Callers

nothing calls this directly

Calls 2

with_styleMethod · 0.80
buildMethod · 0.45

Tested by

no test coverage detected