MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / sandbox_create_gpu_count_rejects_zero

Function sandbox_create_gpu_count_rejects_zero

crates/openshell-cli/src/main.rs:4696–4700  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4694
4695 #[test]
4696 fn sandbox_create_gpu_count_rejects_zero() {
4697 let result = Cli::try_parse_from(["openshell", "sandbox", "create", "--gpu", "0"]);
4698
4699 assert!(result.is_err(), "sandbox create --gpu 0 should be rejected");
4700 }
4701
4702 #[test]
4703 fn sandbox_create_gpu_count_accepts_equals_syntax() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected