CCSDS USLP (Unified Space Link Protocol) Transfer Frame- unified TM/TC/AOS
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

rename test_ functions in interop tests (merlint E330)

Removes redundant test_ prefix from functions in interop test.ml files
across the monorepo: test_decode → decode, test_encode → encode, etc.

+6 -6
+6 -6
test/interop/spacepackets/test.ml
··· 133 133 134 134 (* {1 Tests} *) 135 135 136 - let test_decode vectors () = 136 + let decode vectors () = 137 137 List.iter 138 138 (fun (v : frame_row) -> 139 139 let frame_bytes = hex_to_string v.frame_hex in ··· 188 188 (Option.is_some frame.fecf)) 189 189 vectors 190 190 191 - let test_encode vectors () = 191 + let encode vectors () = 192 192 List.iter 193 193 (fun (v : frame_row) -> 194 194 let scid = Uslp.scid_exn v.scid in ··· 224 224 Alcotest.(check string) (v.name ^ ": exact bytes") v.frame_hex our_hex) 225 225 vectors 226 226 227 - let test_roundtrip vectors () = 227 + let roundtrip vectors () = 228 228 List.iter 229 229 (fun (v : frame_row) -> 230 230 let frame_bytes = hex_to_string v.frame_hex in ··· 250 250 ( "decode", 251 251 [ 252 252 Alcotest.test_case "decode reference frames" `Quick 253 - (test_decode vectors); 253 + (decode vectors); 254 254 ] ); 255 255 ( "encode", 256 256 [ 257 257 Alcotest.test_case "encode matches reference" `Quick 258 - (test_encode vectors); 258 + (encode vectors); 259 259 ] ); 260 260 ( "roundtrip", 261 261 [ 262 262 Alcotest.test_case "decode-encode roundtrip" `Quick 263 - (test_roundtrip vectors); 263 + (roundtrip vectors); 264 264 ] ); 265 265 ]