diff --git a/README.md b/README.md index 29a8222e353a002db401d147744a80354705ccf5..45a539dab9446323405fbf2f5d3616927c5730db 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Python module for binary_c -Coverage:  +Docstring coverage: + +Test coverage: + Binary population synthesis code that interfaces with binary_c. Based on a original work by Jeff Andrews (can be found in old_solution/ directory). Updated and extended for Python3 by David Hendriks, Robert Izzard diff --git a/badges/test_coverage.svg b/badges/test_coverage.svg new file mode 100644 index 0000000000000000000000000000000000000000..6d24dca8738847c2291086179b7c665c9c40a78c --- /dev/null +++ b/badges/test_coverage.svg @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" width="99" height="20"> + <linearGradient id="b" x2="0" y2="100%"> + <stop offset="0" stop-color="#bbb" stop-opacity=".1"/> + <stop offset="1" stop-opacity=".1"/> + </linearGradient> + <mask id="a"> + <rect width="99" height="20" rx="3" fill="#fff"/> + </mask> + <g mask="url(#a)"> + <path fill="#555" d="M0 0h63v20H0z"/> + <path fill="#dfb317" d="M63 0h36v20H63z"/> + <path fill="url(#b)" d="M0 0h99v20H0z"/> + </g> + <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"> + <text x="31.5" y="15" fill="#010101" fill-opacity=".3">coverage</text> + <text x="31.5" y="14">coverage</text> + <text x="80" y="15" fill="#010101" fill-opacity=".3">73%</text> + <text x="80" y="14">73%</text> + </g> +</svg>