JSAbrahams / mamba

🐍 The Mamba programming language, because we care about safety
MIT License
85 stars 3 forks source link

Test mamba class to python class #61

Closed JSAbrahams closed 5 years ago

JSAbrahams commented 5 years ago

Relevant issues

Start of #32

Summary

Add a smoke test to check the generated Python file. We ignore the test for now until we have more complex desugaring rules, such as:

Added Tests

Test to check output of mamba class. This test, however, is ignored for now.

Additional Context

...

codecov[bot] commented 5 years ago

Codecov Report

Merging #61 into master will increase coverage by 0.27%. The diff coverage is 68.75%.

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #61      +/-   ##
========================================
+ Coverage   79.72%    80%   +0.27%     
========================================
  Files          57     58       +1     
  Lines        3847   3850       +3     
========================================
+ Hits         3067   3080      +13     
+ Misses        780    770      -10
Impacted Files Coverage Ξ”
tests/main.rs 93.75% <ΓΈ> (ΓΈ) :arrow_up:
src/core/construct.rs 18.55% <ΓΈ> (ΓΈ) :arrow_up:
src/desugar/node.rs 69.51% <0%> (ΓΈ) :arrow_up:
src/core/mod.rs 64.1% <100%> (+2.31%) :arrow_up:
src/parser/definition.rs 82.43% <100%> (+6.5%) :arrow_up:
tests/command.rs 85.36% <100%> (ΓΈ) :arrow_up:
tests/parser/valid/definition.rs 89.55% <100%> (+0.05%) :arrow_up:
src/desugar/definition.rs 80% <100%> (ΓΈ) :arrow_up:
tests/desugar/definition.rs 88% <100%> (ΓΈ) :arrow_up:
src/parser/file.rs 86.48% <100%> (+2.13%) :arrow_up:
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more Ξ” = absolute <relative> (impact), ΓΈ = not affected, ? = missing data Powered by Codecov. Last update 27ffa76...0414880. Read the comment docs.