McRogueFace/tests
John McCardle b7c5262abf HeightMap: improve dig_hill/dig_bezier API clarity
Rename parameters for clearer semantics:
- dig_hill: depth -> target_height
- dig_bezier: start_depth/end_depth -> start_height/end_height

The libtcod "dig" functions set terrain TO a target height, not
relative to current values. "target_height" makes this clearer.

Also add warnings for likely user errors:
- add_hill/dig_hill/dig_bezier with radius <= 0 (no-op)
- smooth with iterations <= 0 already raises ValueError

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-11 22:21:58 -05:00
..
benchmarks Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
demo Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
geometry_demo Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
integration Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
notes Timer overhaul: update tests 2026-01-03 22:44:53 -05:00
regression tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
unit HeightMap: improve dig_hill/dig_bezier API clarity 2026-01-11 22:21:58 -05:00
vllm_demo update tests: new scene API 2026-01-03 10:59:52 -05:00
api_changes_batch_test.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
issue_176_entity_position_test.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
issue_177_gridpoint_grid_pos_test.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
issue_179_181_grid_vectors_test.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
issue_180_timer_orphan_test.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
issue_180_timer_stopped_test.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
issue_182_caption_size_test.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
issue_184_189_module_test.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
issue_185_188_bounds_test.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
issue_190_layer_docs_test.py Expand TileLayer and ColorLayer __init__ documentation; closes #190 2026-01-05 22:24:36 -05:00
minimal_reparent.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
minimal_test.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
run_tests.py refactor: comprehensive test suite overhaul and demo system 2025-11-25 23:37:05 -05:00
test_append.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
test_callback_vector.py Positions are always mcrfpy.Vector, Vector/tuple/iterables expected as inputs, and for position-only inputs we permit x,y args to prevent requiring double-parens 2026-01-05 10:16:16 -05:00
test_caption_size.py Python API improvements: Vectors, bounds, window singleton, hidden types 2026-01-05 23:00:48 -05:00
test_children.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
test_frame_bounds.py Python API improvements: Vectors, bounds, window singleton, hidden types 2026-01-05 23:00:48 -05:00
test_grid_features.py Python API improvements: Vectors, bounds, window singleton, hidden types 2026-01-05 23:00:48 -05:00
test_gridpoint_debug.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
test_gridpoint_grid_pos.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
test_iter_flush.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
test_iter_only.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
test_iteration.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
test_layer_docs.py Python API improvements: Vectors, bounds, window singleton, hidden types 2026-01-05 23:00:48 -05:00
test_module_namespace.py Python API improvements: Vectors, bounds, window singleton, hidden types 2026-01-05 23:00:48 -05:00
test_module_simple.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00
test_scene_create.py tests for the last few issues (these test scripts should work with recent APIs, while the rest of the test suite needs an overhaul) 2026-01-08 10:31:21 -05:00