Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add testgen to generate test cases #1801

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

add testgen to generate test cases #1801

wants to merge 23 commits into from

Commits on Mar 23, 2020

  1. Configuration menu
    Copy the full SHA
    7de8112 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb22e77 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3976dfc View commit details
    Browse the repository at this point in the history
  4. testgen: add test case for drlg_l1

    Note, SHA1 hash of testdata/tiles_123.bin is correct
    for input seed 123.
    
    12a0410904ebf2507b6b7017f0ae191ae476686b
    mewmew committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    3599bd3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2e59003 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    26d2add View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    dde50c3 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5d0e48d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    3545d9d View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8bf78a9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e41b800 View commit details
    Browse the repository at this point in the history
  12. clean testgen objects

    mewmew committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    8f30306 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    55ecd40 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    3eeba0b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    e2e688e View commit details
    Browse the repository at this point in the history
  16. testgen: add broken seed 7281

    This seed generates a dungeon with an opening into nothing at the
    end of the map.
    mewmew committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    cbe5638 View commit details
    Browse the repository at this point in the history
  17. cmd/viewdun: add viewdun tool to convert TILES.BIN to DUN

    Also, add dump_dun.sh script to convert DUN file to TMX format.
    mewmew committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    adcdb45 View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. d1/l1: add test case for entrance to Skeleton King's Lair

    In other words, this test case checks that "Levels/L1Data/SKngDO.DUN" is
    loaded correctly on dungeon level 3.
    
    This raises test case coverage of d1/l1 from 88.3% to 88.6%.
    mewmew committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    4a463fc View commit details
    Browse the repository at this point in the history
  2. testgen: replace dump_dun.sh script with equivalent Makefile

    This helps track when TMX maps need to be regenerated based on time
    stmaps.
    mewmew committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    02c214f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    64425bc View commit details
    Browse the repository at this point in the history
  4. testgen: add more broken seeds

    Add all broken seeds from https://github.com/sanctuary/graphics/tree/master/l1/broken
    
    d1/l1 test coverage is now at 91%.
    mewmew committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    5ad5ee8 View commit details
    Browse the repository at this point in the history
  5. testgen: format source code

    mewmew committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    4ee568d View commit details
    Browse the repository at this point in the history
  6. testdata: add 1666 seed

    This takes d1/l1 test coverage from 91% to 91.3%.
    mewmew committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    bad2361 View commit details
    Browse the repository at this point in the history