Closed coder5506 closed 1 year ago
Sounds good to me, that's a perfect entry point for all the future unit tests we could implement. Thanks!
Le jeu. 14 sept. 2023 à 13:31, Eric Sessoms @.***> a écrit :
Absolutely nothing earth-shattering here, just a few simple tests starting from the outer leaves of the source tree, where there are the fewest dependencies.
The real purpose of this pull request is let you see the organization and structure of the tests, in case you find anything objectionable it's easy to change at this point.
You can view, comment on, or merge this pull request online at:
https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25 Commit Summary
- 18c8a96 https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25/commits/18c8a96254890609acf8da64c624047e1f8b3209 First tests
- f54fdfb https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25/commits/f54fdfb2c87584c14076f8a71a6c03a491db4a91 Add unit tests for lib/common.py
- fb4f700 https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25/commits/fb4f7009a71990dadcd6d008523fc79094da3253 Add doc tests to lib/common.py
- 6e2fae7 https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25/commits/6e2fae76cbbdf802fb517bedf9287899d58f1ee7 Add type annotations and documentation to common
- 6d724c9 https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25/commits/6d724c9a633cb5ad63ac9a165e82e963d922d118 Minor cleanups in lib/common.py
File Changes
(4 files https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25/files)
- M DGTCentaurMods/opt/DGTCentaurMods/lib/common.py https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25/files#diff-d5dad397a751e87e0e1b714c8aa2dcb35c2763e79a614857af0e304041797046 (91)
- A DGTCentaurMods/opt/DGTCentaurMods/scripts/run_tests.sh https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25/files#diff-76e7d1ce662a36f074f8ecfdbe89c2b021558427360d891edb587f9e24cfbb05 (7)
- A DGTCentaurMods/opt/DGTCentaurMods/test/test_chess.py https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25/files#diff-f0892c2c431e09138e139afd637ea11c01e37c5711adb36af9d872fa583b6a85 (193)
- A DGTCentaurMods/opt/DGTCentaurMods/test/test_common.py https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25/files#diff-a41c85f1da0d96a95e6c41b5e3c0e3420a6b9a346101ae7a1722ae5cfc3ac1ce (147)
Patch Links:
- https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25.patch
- https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25.diff
— Reply to this email directly, view it on GitHub https://github.com/Alistair-Crompton/DGTCentaurMods/pull/25, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBBSTWJ4FWESSYDO4PDRMPDX2LTJFANCNFSM6AAAAAA4X6KF5U . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Absolutely nothing earth-shattering here, just a few simple tests starting from the outer leaves of the source tree, where there are the fewest dependencies.
The real purpose of this pull request is let you see the organization and structure of the tests, in case you find anything objectionable it's easy to change at this point.