# Unit-test cases that pass without real game data, generated by tools/classify_cases.py
# against the synthetic data tree. Format: <ctest name> * | <ctest name> case,case,...
# Everything not listed needs the real data and runs as an integration test.
audio *
automap *
babl_objects *
babl_vm test_opcode_add,test_opcode_multiply,test_opcode_subtract,test_opcode_divide,test_opcode_modulo,test_opcode_or,test_opcode_and,test_opcode_greater,test_opcode_greater_equal,test_opcode_less,test_opcode_less_equal,test_opcode_equal,test_opcode_not_equal,test_opcode_array_index,test_opcode_nops_and_exit,test_opcode_not_and_negate,test_opcode_absolute_and_relative_jumps,test_opcode_conditional_branches,test_opcode_backward_branch,test_opcode_nested_call_and_return,test_opcode_push_pop_swap,test_opcode_frame_and_variable_address,test_opcode_reserve_and_release_stack,test_opcode_fetch_store_and_result_register,test_opcode_builtin_call,test_opcode_strings_and_output,test_variable_references_keep_native_pointer_width,test_named_variables_and_defaults,test_quest_flags_and_event_counters,test_event_changes_choose_expected_dialogue_branch,test_filtered_menu_tracks_event_state_and_releases_wait,test_menu_returns_choice_then_dialogue_continues,test_barter_cleanup_returns_items_to_their_owners,test_barter_setup_uses_actual_npc_inventory_link,test_barter_preferences_use_word_arrays,test_declining_barter_restores_inventory_and_clears_slots,test_accepted_offer_exits_barter_branch_and_continues_dialogue,test_rejected_offer_remains_available_then_declines,test_empty_offer_returns_failure_without_trading,test_npc_events_survive_conversation_writeback_and_reentry,test_menu_wait_ignores_invalid_selection_then_accepts_leave,test_barter_cache_initialization_and_invalidation_reach_offer_values,test_barter_setup_replaces_staged_item_without_losing_inventory
chargen test_pickup_limit_reads_capacity_and_current_load_from_record,test_equipment_bonus_updates_all_regions_and_reset_clears_them,test_equipment_slots_apply_bonuses_to_original_armor_regions,test_recalculation_updates_limits_without_refilling_live_mana,test_level_seven_preserves_special_mana_state,test_status_save_restores_calculated_stats_and_carry_fields,test_armor_protection_uses_loaded_table_and_quality,test_reset_creates_blank_stats_and_new_character_defaults,test_finalization_rolls_twenty_skills_and_three_attributes,test_each_class_uses_its_own_base_attributes,test_bonus_pool_caps_attributes_and_spends_remainder,test_skill_tree_collects_leaves_and_stops_at_five,test_skill_tree_selects_class_and_resumes_at_cursor,test_skill_tree_branch_populates_choices_then_resumes,test_empty_skill_nodes_use_unselected_sentinel,test_confirmed_picks_train_valid_skills_and_skip_sentinels,test_confirmed_picks_resume_without_retraining_previous_choices,test_shipped_chrgen_is_already_the_ports_layout,test_buffer_matching_neither_stride_is_left_untouched,test_short_buffer_is_left_untouched,test_conversion_refuses_when_the_buffer_cannot_grow,test_null_buffer_is_rejected
collision_profiles *
combat test_player_melee_swing_selects_critter,test_player_melee_swing_without_candidates_misses,test_player_melee_swing_does_not_hit_attacker,test_player_melee_swing_selects_nearest_critter,test_attack_facing_covers_all_heading_pairs,test_full_player_swing_applies_damage_to_critter,test_failed_skill_check_keeps_full_object_pointers,test_full_swing_without_target_skips_damage,test_critter_swing_at_same_faction_skips_damage,test_critter_swing_at_opposing_faction_preserves_pointers,test_lethal_player_swing_marks_critter_dead_and_awards_experience,test_each_original_experience_threshold_advances_exactly_one_level,test_large_experience_award_only_crosses_earned_thresholds,test_experience_loss_clamps_to_zero_without_removing_levels,test_already_dead_critter_does_not_award_experience_again,test_scripted_critter_can_refuse_death,test_critter_kill_does_not_award_player_experience,test_successful_critter_hit_redraws_hud_wipe,test_combat_hud_wipe_finishes_and_clears_dirty_bit,test_looking_up_raises_the_wall_spark,test_looking_down_lowers_the_wall_spark,test_level_look_keeps_the_wall_spark_at_strike_height,test_vertical_aim_rounds_small_pitch_toward_zero,test_bloodless_monster_still_uses_a_spark,test_magic_arrow_impact_on_closed_door_preserves_target_pointer,test_magic_arrow_breaks_door_and_cleans_up_linked_object
cursor test_overlay_ignores_stylus_gates_and_restores_render_state,test_moving_item_cursor_does_not_stamp_or_restore_old_pixels,test_stationary_target_cursor_survives_new_frame_and_hide_calls,test_overlay_clips_screen_edges_and_skips_uninitialized_sprite
cursor_enabled test_overlay_ignores_stylus_gates_and_restores_render_state,test_moving_item_cursor_does_not_stamp_or_restore_old_pixels,test_stationary_target_cursor_survives_new_frame_and_hide_calls,test_overlay_clips_screen_edges_and_skips_uninitialized_sprite
cursor_stylus test_stylus_mode_retains_touch_visibility_and_background_save,test_stylus_sprite_change_does_not_queue_desktop_presentation
debug_ui *
dosmidi *
geometry *
gx_pacing *
head_bob *
hotspot_marker *
illustration_render test_palette_defaults_to_unboosted_dos_brightness,test_palette_preserves_channel_values_and_clamps_brightness,test_palette_builds_original_dungeon_shade_rows,test_picture_file_size_preserves_read_position,test_missing_window_script_releases_viewer_buffers,test_game_tick_presents_once_after_nested_redraws,test_nested_batches_wait_for_outer_tick_to_finish,test_modal_restores_batching_and_previous_flush_gate,test_unbatched_animation_frames_present_immediately,test_desktop_cursor_allows_frames_while_dragging
introduction test_muted_say_keeps_subtitles_and_clears_voice_flag,test_say_voice_sentinel_keeps_subtitles,test_subtitle_paragraph_limit_preserves_state_fields,test_section_switch_preserves_configured_directory
inventory test_palette_cycle_redraws_only_lit_light_source_icons,test_picked_up_sack_has_inventory_widget,test_open_sack_finds_contents_through_inventory_widget,test_lookup_returns_object_and_owning_link,test_nested_container_finds_inner_object,test_lookup_follows_sibling_link,test_missing_object_has_no_widget,test_empty_container_returns_null,test_quantity_field_is_not_traversed_as_contents,test_action_dispatch_forwards_object_and_mode_to_related_helpers,test_open_empty_sack_refreshes_without_contents,test_open_sack_skips_hidden_contents_when_refreshing,test_open_nested_sack_refreshes_inner_contents
inventory_drag *
jump_walking *
keyboard *
lighting test_arm_dithers_rgb565_fractional_channels_with_stable_row_parity,test_dos_dither_keeps_its_phase_across_spans_and_clipping,test_dos_bias_clamps_before_initial_shade_and_uses_all_sixteen_rows,test_dos_shading_uses_radial_distance_horizontally_and_vertically,test_wall_light_falloff_at_known_world_distances,test_arm_surfaces_are_smoother_than_dos_rows,test_ambient_bias_calibration_restores_default_and_env_override,test_depth_rounding_snaps_the_world_position_to_the_grid,test_depth_rounding_bands_lie_on_a_grid_fixed_in_the_world,test_depth_rounding_lights_every_mode_from_the_rounded_distance,test_light_list_holds_eight_lights_and_drops_the_rest,test_light_sources_are_recognised_by_object_id
look_pacing *
math *
models_dos *
movement test_wall_hit_at_45_degrees_left_turns_left_along_wall,test_wall_hit_at_45_degrees_right_turns_right_along_wall,test_hard_block_clears_all_player_velocity,test_open_floor_does_not_stop_or_turn_player,test_walking_up_short_stair_succeeds,test_walking_from_low_tile_to_much_higher_tile_is_blocked,test_player_cannot_auto_step_onto_high_footprint_floor,test_open_door_does_not_block_player,test_jump_wall_rebound_rebuilds_floor_at_restored_position,test_airborne_floor_flags_do_not_revert_jump,test_collision_ignore_mask_keeps_high_bits,test_candidate_sort_keeps_heights_links_and_offsets_together,test_static_door_contact_builds_snapshot_without_moving_door,test_contact_snapshot_updates_contiguous_velocity_speed_and_heading,test_contact_mass_ratio_caps_transferred_velocity,test_contact_without_obstacle_returns_blocking_flag,test_copied_collision_links_resolve_like_arena_links,test_door_contact_lookup_returns_full_pointer_and_tile,test_sweep_initialization_and_rollback_share_collision_xyz,test_real_substep_rollback_restores_fractional_position_on_both_axes,test_unchanged_signed_travel_heading_does_not_turn_camera_again
new_game *
noise *
npc_ai test_loaded_perception_and_health_fields_share_monster_table,test_line_walk_records_waypoints_without_corrupting_ai_globals,test_repeated_walking_preserves_npc_position_and_ai_pointers,test_ready_melee_attack_uses_every_arm_charge_scale,test_wide_engage_goal_advances_stance_without_corrupting_tile_position,test_target_delta_preserves_signed_full_tile_distance,test_alert_npc_attacks_from_each_direction_without_changing_position,test_hostile_npc_cannot_notice_player_through_a_wall,test_hostile_npc_does_not_notice_player_outside_detection_range,test_friendly_npc_does_not_start_a_chase_or_attack,test_ranged_line_of_sight_aims_at_the_players_actual_height
npc_combat test_monster_loader_preserves_all_uw1_disk_rows,test_weapon_loader_preserves_all_uw1_disk_rows,test_container_light_animation_loaders_preserve_disk_rows,test_real_damage_dice_cover_minimum_and_maximum
npc_state *
object_core *
object_layout *
object_weight *
options *
player_move_direction *
restored_tables *
save_inventory *
scheduler test_scheduler_rejects_entries_after_its_64_slot_capacity
scroll_messages *
sleep test_wake_transition_preserves_full_snapshot_addresses_and_pixels,test_spawn_block_result_is_reset_and_only_marked_nearby_npcs_block,test_cleanup_stops_at_limit_and_keeps_the_unvisited_chain,test_stack_copied_links_resolve_and_return_the_destruction_roll
special_use test_tile_special_action_preserves_actor_and_healing_target_addresses,test_rest_safety_ignores_unalerted_or_nonhostile_objects,test_rest_safety_ignores_player_and_monsters_outside_scan_radius
spell_effects *
spell_runes *
spells test_in_lor_with_enough_mana_casts_light_on_the_actual_player,test_in_lor_without_enough_mana_fails_without_dispatching,test_failed_casting_check_does_not_create_a_light,test_no_magic_tile_rejects_in_lor_without_creating_light,test_full_light_slots_reject_in_lor_without_writing_another_slot,test_critical_failure_keeps_the_actual_player_pointer,test_magic_arrow_allocation_failure_keeps_mana_and_clears_cast_cursor
stair_transition *
static_strings *
support test_character_helper_runs_game_defaults_without_ui
teleport *
throw test_throw_remains_mobile_and_moves_over_successive_ticks,test_thrown_item_falls_and_settles_only_after_landing,test_player_lands_and_can_walk_without_rearming_gravity,test_player_no_bounce_is_disabled_by_zero,test_player_no_bounce_stops_the_player_on_first_landing,test_falling_selects_the_highest_bridge_below_the_player,test_falling_player_lands_on_bridge_across_fall_speeds
throw_tick_rate test_a_spent_projectile_with_a_leftover_vertical_velocity_settles,test_gravity_alone_keeps_the_remainder_between_steps,test_thrown_item_has_speed_class_one,test_a_successful_step_advances_the_phase_by_the_speed_class,test_each_game_tick_runs_one_step_for_speed_class_one,test_speed_class_n_runs_one_step_every_n_game_ticks,test_a_late_object_pass_catches_up_with_every_missed_game_tick,test_no_object_pass_runs_when_the_game_tick_has_not_advanced,test_sixty_hz_frames_make_about_15_6_game_ticks_a_second,test_flight_steps_at_the_game_tick_rate_from_any_starting_phase,test_physics_fps_is_off_by_default,test_physics_fps_maps_to_whole_clock_unit_subticks,test_a_60fps_flight_steps_four_times_as_often_and_covers_the_same_path
transitions test_palette_defaults_to_unboosted_dos_brightness,test_palette_preserves_channel_values_and_clamps_brightness,test_palette_builds_original_dungeon_shade_rows,test_picture_file_size_preserves_read_position,test_missing_window_script_releases_viewer_buffers,test_game_tick_presents_once_after_nested_redraws,test_nested_batches_wait_for_outer_tick_to_finish,test_modal_restores_batching_and_previous_flush_gate,test_unbatched_animation_frames_present_immediately,test_fade_in_presents_progressive_brightness_and_keeps_palette,test_fades_present_each_step_inside_gameplay_batch_with_held_click,test_fade_out_presents_progressive_brightness_to_black,test_fades_forward_palette_buffer_and_install_flag,test_fades_hold_each_brightness_step_for_40ms,test_new_game_dungeon_transition_presents_fade_out_and_fade_in,test_character_creation_entry_holds_black_for_half_second_once,test_slow_presentations_count_toward_fade_step_duration,test_entry_tick_fades_character_screen_before_drawing_dungeon,test_options_menu_presents_while_waiting_inside_gameplay_batch,test_stack_count_prompt_presents_before_accepting_input,test_nested_input_suspension_restores_batching_and_flush_gate
visibility_walk test_open_room_reveals_the_player_and_tiles_ahead,test_wall_blocks_tiles_behind_it,test_flood_uses_the_original_16_row_bound,test_repeated_frames_clear_walls_outside_the_current_visibility_fan,test_visibility_reset_preserves_the_adjacent_light_grid
voice test_dos_voc_is_found_when_there_is_no_wav,test_unreadable_wav_still_falls_through_to_the_voc,test_missing_in_both_sets_fails_without_a_buffer,test_compressed_voc_is_refused,test_rate_comes_from_the_files_time_constant
weapon_charge *
weapon_ready *
