CCSDS TM Transfer Frames (CCSDS 132.0-B-3)
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
··· 119 119 120 120 (* {1 Tests} *) 121 121 122 - let test_decode vectors () = 122 + let decode vectors () = 123 123 List.iter 124 124 (fun (v : vector) -> 125 125 let frame_bytes = hex_to_string v.frame_hex in ··· 167 167 let parse_ocf_hex s = 168 168 if String.length s = 0 then None else Some (int_of_string ("0x" ^ s)) 169 169 170 - let test_encode vectors () = 170 + let encode vectors () = 171 171 List.iter 172 172 (fun (v : vector) -> 173 173 let scid = Tm.scid_exn v.scid in ··· 185 185 Alcotest.(check string) (v.name ^ ": exact bytes") v.frame_hex our_hex) 186 186 vectors 187 187 188 - let test_roundtrip vectors () = 188 + let roundtrip vectors () = 189 189 List.iter 190 190 (fun (v : vector) -> 191 191 let frame_bytes = hex_to_string v.frame_hex in ··· 207 207 ( "decode", 208 208 [ 209 209 Alcotest.test_case "decode reference frames" `Quick 210 - (test_decode vectors); 210 + (decode vectors); 211 211 ] ); 212 212 ( "encode", 213 213 [ 214 214 Alcotest.test_case "encode matches reference" `Quick 215 - (test_encode vectors); 215 + (encode vectors); 216 216 ] ); 217 217 ( "roundtrip", 218 218 [ 219 219 Alcotest.test_case "decode-encode roundtrip" `Quick 220 - (test_roundtrip vectors); 220 + (roundtrip vectors); 221 221 ] ); 222 222 ]