CCSDS AOS (Advanced Orbiting Systems) Transfer Frame for satellite downlinks
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/dariol83/test.ml
··· 103 103 104 104 (* {1 Tests} *) 105 105 106 - let test_decode vectors () = 106 + let decode vectors () = 107 107 List.iter 108 108 (fun (v : vector) -> 109 109 let frame_bytes = hex_to_string v.frame_hex in ··· 143 143 (Option.is_some frame.fecf)) 144 144 vectors 145 145 146 - let test_encode vectors () = 146 + let encode vectors () = 147 147 List.iter 148 148 (fun (v : vector) -> 149 149 let scid = Aos.scid_exn v.scid in ··· 162 162 Alcotest.(check string) (v.name ^ ": exact bytes") v.frame_hex our_hex) 163 163 vectors 164 164 165 - let test_roundtrip vectors () = 165 + let roundtrip vectors () = 166 166 List.iter 167 167 (fun (v : vector) -> 168 168 let frame_bytes = hex_to_string v.frame_hex in ··· 205 205 ( "decode", 206 206 [ 207 207 Alcotest.test_case "decode reference frames" `Quick 208 - (test_decode vectors); 208 + (decode vectors); 209 209 ] ); 210 210 ( "encode", 211 211 [ 212 212 Alcotest.test_case "encode matches reference" `Quick 213 - (test_encode vectors); 213 + (encode vectors); 214 214 ] ); 215 215 ( "roundtrip", 216 216 [ 217 217 Alcotest.test_case "decode-encode roundtrip" `Quick 218 - (test_roundtrip vectors); 218 + (roundtrip vectors); 219 219 ] ); 220 220 ( "idle", 221 221 [ Alcotest.test_case "idle frame detection" `Quick (test_idle vectors) ]