Co-authored-by: Kangyan Zhou <kangyan.zhou@radixark.ai> Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Shangming Cai <csmthu@gmail.com> Co-authored-by: Kan Wu <wukanustc@gmail.com>
17 lines
457 B
Rust
17 lines
457 B
Rust
// SPDX-FileCopyrightText: Copyright (c) 2026 The SGLang Authors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
//! Shared test harness re-exports.
|
|
|
|
pub mod cache_aware_fixture;
|
|
pub mod mock_worker;
|
|
pub mod streaming;
|
|
|
|
#[allow(dead_code)] // not every test file inspects forwarded rids
|
|
pub fn is_engine_shaped_rid(rid: &str) -> bool {
|
|
rid.len() == 32
|
|
&& rid
|
|
.bytes()
|
|
.all(|b| b.is_ascii_hexdigit() && !b.is_ascii_uppercase())
|
|
}
|