craigthomas / Chip8Java

A Super Chip 8 emulator written in Java
MIT License
27 stars 2 forks source link

Refactor source file locations and add unit tests. #11

Closed craigthomas closed 5 years ago

craigthomas commented 5 years ago

This PR updates the main source file locations, and adds a number of missing unit tests. It also fixes the broken step mode.

codecov[bot] commented 5 years ago

Codecov Report

Merging #11 into master will increase coverage by 3.88%. The diff coverage is 61.83%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #11      +/-   ##
============================================
+ Coverage     80.55%   84.44%   +3.88%     
- Complexity      199      210      +11     
============================================
  Files            13       15       +2     
  Lines           833      842       +9     
  Branches         54       55       +1     
============================================
+ Hits            671      711      +40     
+ Misses          155      121      -34     
- Partials          7       10       +3
Impacted Files Coverage Δ Complexity Δ
...java/emulator/listeners/TraceMenuItemListener.java 100% <ø> (ø) 3 <0> (?)
...mulator/listeners/ResetMenuItemActionListener.java 100% <ø> (ø) 2 <0> (?)
...8java/emulator/listeners/StepMenuItemListener.java 100% <ø> (ø) 3 <0> (?)
.../com/chip8java/emulator/components/ScreenMode.java 100% <ø> (ø) 5 <0> (?)
...ain/java/com/chip8java/emulator/runner/Runner.java 0% <0%> (ø) 0 <0> (?)
.../java/com/chip8java/emulator/runner/Arguments.java 0% <0%> (ø) 0 <0> (?)
...java/com/chip8java/emulator/components/Memory.java 100% <100%> (ø) 8 <1> (?)
...m/chip8java/emulator/components/EmulatorState.java 100% <100%> (ø) 1 <1> (?)
...ip8java/emulator/listeners/QuitActionListener.java 100% <100%> (ø) 2 <2> (?)
...va/com/chip8java/emulator/components/Keyboard.java 100% <100%> (ø) 10 <1> (?)
... and 10 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 f4661a7...aed97d4. Read the comment docs.