skx / cpmulator

Golang CP/M emulator for zork, Microsoft BASIC, Turbo Pascal, Wordstar, lighthouse-of-doom, etc
MIT License
98 stars 3 forks source link

Increased test-coverage once-again #153

Closed skx closed 3 months ago

skx commented 3 months ago

FCB is now at 100%. Other stuff looks good:

$ cover ./...
    github.com/skx/cpmulator/consolein      coverage: 0.0% of statements
    github.com/skx/cpmulator        coverage: 0.0% of statements
ok      github.com/skx/cpmulator/ccp    0.003s  coverage: 100.0% of statements
ok      github.com/skx/cpmulator/consoleout 0.004s  coverage: 40.7% of statements
ok      github.com/skx/cpmulator/cpm    0.182s  coverage: 64.4% of statements
ok      github.com/skx/cpmulator/fcb    0.005s  coverage: 100.0% of statements
ok      github.com/skx/cpmulator/memory 0.005s  coverage: 100.0% of statements
ok      github.com/skx/cpmulator/static 0.005s  coverage: 100.0% of statements
ok      github.com/skx/cpmulator/version    0.003s  coverage: 100.0% of statements

Biggest issue is the console-input tests are missing. Not sure what to do about those - make the stuffed input work there too? Or something else?