Skip to content

Instantly share code, notes, and snippets.

@mohanr
Created December 29, 2019 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mohanr/4fec9369e8d086582197d702ce4cf83d to your computer and use it in GitHub Desktop.
Save mohanr/4fec9369e8d086582197d702ce4cf83d to your computer and use it in GitHub Desktop.
let testcompare () = Alcotest.(check bool) "Test for weight comparison" true (Graph.EDGECOMPARE_weight.compare [1,2,4] [ 5,6,7] )
let () =
Alcotest.run "Weights"
[
("test compare weights of edges", [
Alcotest.test_case "Compare weights" `Quick testcompare;
]);
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment