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

Function artifact_store_limits_rejects_fractional_values

sdk/node/src/lib.rs:5919–5929  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5917
5918 #[test]
5919 fn artifact_store_limits_rejects_fractional_values() {
5920 let result = js_session_options_to_rust(Some(SessionOptions {
5921 artifact_store_limits: Some(ArtifactStoreLimits {
5922 max_artifacts: Some(1.5),
5923 max_bytes: Some(4096.0),
5924 }),
5925 ..Default::default()
5926 }));
5927
5928 assert!(result.is_err());
5929 }
5930
5931 #[test]
5932 fn verification_reports_from_value_accepts_array_and_single_report() {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected