init
This commit is contained in:
commit
276d43613d
1687 changed files with 109059 additions and 0 deletions
73
prototype/tests/run_tests.gd
Normal file
73
prototype/tests/run_tests.gd
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
class_name TestRunner
|
||||
extends SceneTree
|
||||
## Minimal headless test runner (no framework). Run:
|
||||
## godot --headless --path . --fixed-fps 60 --script res://prototype/tests/run_tests.gd
|
||||
## Optional: -- --suite=test_pool (run one suite)
|
||||
## --fixed-fps 60 makes every process frame exactly one 60 Hz physics tick, so integration
|
||||
## tests are deterministic and run faster than real time. Exit code = number of failures.
|
||||
|
||||
const SUITES := [
|
||||
"res://prototype/tests/test_pool.gd",
|
||||
"res://prototype/tests/test_flow_field.gd",
|
||||
"res://prototype/tests/test_projectiles.gd",
|
||||
"res://prototype/tests/test_input.gd",
|
||||
"res://prototype/tests/test_round.gd",
|
||||
]
|
||||
|
||||
var passes: int = 0
|
||||
var failures: int = 0
|
||||
var current: String = ""
|
||||
|
||||
|
||||
func _initialize() -> void:
|
||||
_main.call_deferred()
|
||||
|
||||
|
||||
func _main() -> void:
|
||||
await process_frame
|
||||
var only := ""
|
||||
for a in OS.get_cmdline_user_args():
|
||||
if String(a).begins_with("--suite="):
|
||||
only = String(a).trim_prefix("--suite=")
|
||||
var t0 := Time.get_ticks_msec()
|
||||
for path: String in SUITES:
|
||||
if only != "" and path.get_file().get_basename() != only:
|
||||
continue
|
||||
current = path.get_file().get_basename()
|
||||
print("== ", current)
|
||||
var suite: Object = (load(path) as GDScript).new()
|
||||
await suite.call("run", self)
|
||||
print("TESTS: %d checks passed, %d failed (%.1f s)" % [passes, failures, (Time.get_ticks_msec() - t0) / 1000.0])
|
||||
quit(mini(failures, 125))
|
||||
|
||||
|
||||
func check(cond: bool, message: String) -> void:
|
||||
if cond:
|
||||
passes += 1
|
||||
else:
|
||||
failures += 1
|
||||
printerr(" FAIL [%s] %s" % [current, message])
|
||||
|
||||
|
||||
func info(message: String) -> void:
|
||||
print(" ", message)
|
||||
|
||||
|
||||
func ticks(n: int) -> void:
|
||||
for i in n:
|
||||
await physics_frame
|
||||
|
||||
|
||||
## Small open test arena: playable [-10, 10]^2 with optional footprints.
|
||||
static func make_nav(rects: PackedFloat32Array, cfg: PrototypeConfig) -> ArenaNavigation:
|
||||
var nav := ArenaNavigation.new()
|
||||
var playable := Rect2(-10, -10, 20, 20)
|
||||
nav.setup(rects, playable, playable.grow(0.5), cfg.nav_cell_size, cfg.enemy_radius + cfg.nav_inflate_margin)
|
||||
return nav
|
||||
|
||||
|
||||
static func make_horde(tree: SceneTree, cfg: PrototypeConfig, nav: ArenaNavigation) -> HordeSystem:
|
||||
var horde := HordeSystem.new()
|
||||
tree.root.add_child(horde)
|
||||
horde.setup(cfg, nav, BoxMesh.new(), StandardMaterial3D.new(), Rect2(-10.5, -10.5, 21, 21))
|
||||
return horde
|
||||
1
prototype/tests/run_tests.gd.uid
Normal file
1
prototype/tests/run_tests.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://tqk1iqn6hvs6
|
||||
136
prototype/tests/test_flow_field.gd
Normal file
136
prototype/tests/test_flow_field.gd
Normal file
|
|
@ -0,0 +1,136 @@
|
|||
extends RefCounted
|
||||
## Flow field: routing around a U-shaped obstacle, no diagonal corner cutting, unreachable
|
||||
## cells and spawns, exact octile integration, and rebuild timing on the real layouts.
|
||||
|
||||
|
||||
func run(r: TestRunner) -> void:
|
||||
var cfg := PrototypeConfig.new()
|
||||
_u_shape(r, cfg)
|
||||
_corner_cutting(r, cfg)
|
||||
_unreachable(r, cfg)
|
||||
_octile(r, cfg)
|
||||
_timing(r)
|
||||
|
||||
|
||||
func _rects(list: Array) -> PackedFloat32Array:
|
||||
var out := PackedFloat32Array()
|
||||
for rc: Rect2 in list:
|
||||
out.append_array([rc.position.x, rc.position.y, rc.end.x, rc.end.y])
|
||||
return out
|
||||
|
||||
|
||||
## U opening north (-Z); target south of its closed side. A bird inside must leave through
|
||||
## the opening and go around an arm, never entering a footprint.
|
||||
func _u_shape(r: TestRunner, cfg: PrototypeConfig) -> void:
|
||||
var rects := _rects([
|
||||
Rect2(-3, 2, 6, 0.5), # closed side (south)
|
||||
Rect2(-3, -3, 0.5, 5.5), # west arm
|
||||
Rect2(2.5, -3, 0.5, 5.5), # east arm
|
||||
])
|
||||
var nav := TestRunner.make_nav(rects, cfg)
|
||||
r.check(nav.rebuild_flow(0.0, 6.0), "flow builds toward target")
|
||||
var p := Vector2(0.0, 0.0)
|
||||
var dir := PackedFloat32Array([0, 0])
|
||||
var min_z := p.y
|
||||
var length := 0.0
|
||||
var reached := false
|
||||
var clear := true
|
||||
for i in 600:
|
||||
if p.distance_to(Vector2(0, 6)) < 0.6:
|
||||
reached = true
|
||||
break
|
||||
if not nav.flow_direction(p.x, p.y, dir):
|
||||
break
|
||||
var step := Vector2(dir[0], dir[1]) * 0.1
|
||||
p += step
|
||||
length += step.length()
|
||||
min_z = minf(min_z, p.y)
|
||||
if nav.circle_overlaps(p.x, p.y, cfg.enemy_radius):
|
||||
clear = false
|
||||
r.check(reached, "bird inside the U reaches the target (ended at %s)" % p)
|
||||
r.check(min_z < -3.0, "route exits through the U opening (min z %.2f)" % min_z)
|
||||
r.check(clear, "route never overlaps a footprint at bird radius")
|
||||
r.check(length > 12.0, "route goes around the U (length %.1f m vs 6 m straight)" % length)
|
||||
# Every chosen diagonal step has both side cells free.
|
||||
var ok := true
|
||||
for c in nav.cell_count():
|
||||
if not nav.is_free(c) or not nav.is_reachable(c) or nav.dist[c] == 0:
|
||||
continue
|
||||
var cc := nav.cell_center(c)
|
||||
if nav.flow_direction(cc.x, cc.y, dir) and absf(dir[0]) > 0.1 and absf(dir[1]) > 0.1:
|
||||
var sx := nav.cell_of(cc.x + signf(dir[0]) * nav.cell_size, cc.y)
|
||||
var sz := nav.cell_of(cc.x, cc.y + signf(dir[1]) * nav.cell_size)
|
||||
ok = ok and nav.is_free(sx) and nav.is_free(sz)
|
||||
r.check(ok, "no flow direction cuts a blocked corner (all free cells)")
|
||||
|
||||
|
||||
func _corner_cutting(r: TestRunner, cfg: PrototypeConfig) -> void:
|
||||
var nav := TestRunner.make_nav(PackedFloat32Array(), cfg)
|
||||
var w := nav.width
|
||||
var a := 20 * w + 20 # (20, 20)
|
||||
# Diagonal pair: from (20,21) to (21,20); side cells (21,21) and (20,20).
|
||||
var from := 21 * w + 20
|
||||
var to := 20 * w + 21
|
||||
nav.blocked[a] = 1
|
||||
nav.blocked[21 * w + 21] = 1
|
||||
var tc := nav.cell_center(to)
|
||||
nav.rebuild_flow(tc.x, tc.y)
|
||||
r.check(nav.dist[from] > ArenaNavigation.COST_DIAG, "both sides blocked: no diagonal shortcut (dist %d)" % nav.dist[from])
|
||||
nav.blocked[21 * w + 21] = 0
|
||||
nav.rebuild_flow(tc.x, tc.y)
|
||||
r.check(nav.dist[from] == ArenaNavigation.COST_ORTH * 2, "one side blocked: path takes two orthogonal steps (dist %d)" % nav.dist[from])
|
||||
nav.blocked[a] = 0
|
||||
nav.rebuild_flow(tc.x, tc.y)
|
||||
r.check(nav.dist[from] == ArenaNavigation.COST_DIAG, "open: diagonal step allowed (dist %d)" % nav.dist[from])
|
||||
|
||||
|
||||
func _unreachable(r: TestRunner, cfg: PrototypeConfig) -> void:
|
||||
var rects := _rects([
|
||||
Rect2(4, 4, 4, 0.5), Rect2(4, 7.5, 4, 0.5), Rect2(4, 4, 0.5, 4), Rect2(7.5, 4, 0.5, 4),
|
||||
])
|
||||
var nav := TestRunner.make_nav(rects, cfg)
|
||||
nav.rebuild_flow(-5.0, -5.0)
|
||||
var inside := nav.cell_of(6.0, 6.0)
|
||||
r.check(nav.is_free(inside) and not nav.is_reachable(inside), "sealed pocket is free but unreachable")
|
||||
var dir := PackedFloat32Array([0, 0])
|
||||
r.check(not nav.flow_direction(6.0, 6.0, dir), "unreachable bird holds position (no direction)")
|
||||
var rng := RandomNumberGenerator.new()
|
||||
rng.seed = 1
|
||||
var pts := HordeSystem.plan_spawn_points(nav, Vector2(-5, -5), 300, 0.0, 0.8, rng)
|
||||
var bad := 0
|
||||
for p in pts:
|
||||
if p.x > 4.0 and p.x < 8.0 and p.y > 4.0 and p.y < 8.0:
|
||||
bad += 1
|
||||
if not nav.is_reachable(nav.cell_of(p.x, p.y)):
|
||||
bad += 1
|
||||
r.check(pts.size() == 300 and bad == 0, "300 spawns planned, none unreachable or inside the pocket (%d bad)" % bad)
|
||||
|
||||
|
||||
func _octile(r: TestRunner, cfg: PrototypeConfig) -> void:
|
||||
var nav := TestRunner.make_nav(PackedFloat32Array(), cfg)
|
||||
var t := nav.cell_center(20 * nav.width + 20)
|
||||
nav.rebuild_flow(t.x, t.y)
|
||||
var c := (20 + 2) * nav.width + (20 + 6)
|
||||
r.check(nav.dist[c] == 7 * 2 + 5 * 4, "octile cost for (6, 2) offset is 34 (got %d)" % nav.dist[c])
|
||||
|
||||
|
||||
func _timing(r: TestRunner) -> void:
|
||||
for layout_kind in [PrototypeConfig.Layout.COMPACT, PrototypeConfig.Layout.ENLARGED]:
|
||||
var cfg := PrototypeConfig.new()
|
||||
cfg.layout = layout_kind
|
||||
var l := ArenaLayout.build(cfg)
|
||||
var nav := ArenaNavigation.new()
|
||||
nav.setup(l.packed_rects(), Rect2(-l.half_extent, l.half_extent * 2.0), l.outer_rect(),
|
||||
cfg.nav_cell_size, cfg.enemy_radius + cfg.nav_inflate_margin)
|
||||
var best := 1 << 30
|
||||
for i in 5:
|
||||
nav.rebuild_flow(l.player_start.x + i * 0.5, l.player_start.y)
|
||||
best = mini(best, nav.last_rebuild_usec)
|
||||
nav.reset_stats()
|
||||
nav.begin_flow(0.0, 0.0)
|
||||
var slices := 1
|
||||
while not nav.step_flow(cfg.flow_slice_cells):
|
||||
slices += 1
|
||||
r.info("%s: %d cells, full rebuild best %.2f ms; sliced at %d cells/tick -> %d ticks, max slice %.2f ms" % [
|
||||
PrototypeConfig.Layout.keys()[layout_kind], nav.cell_count(), best / 1000.0, cfg.flow_slice_cells, slices, nav.max_slice_usec / 1000.0])
|
||||
r.check(nav.is_reachable(nav.cell_of(l.player_start.x, l.player_start.y)), "%s layout: player start reachable" % PrototypeConfig.Layout.keys()[layout_kind])
|
||||
1
prototype/tests/test_flow_field.gd.uid
Normal file
1
prototype/tests/test_flow_field.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://dgxq0hhviaj80
|
||||
91
prototype/tests/test_input.gd
Normal file
91
prototype/tests/test_input.gd
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
extends RefCounted
|
||||
## Input: muzzle-corrected mouse aim in every direction, gamepad aim in 8 directions, radial
|
||||
## dead zone, retained aim on release, device switching thresholds, normalized diagonals.
|
||||
|
||||
|
||||
func run(r: TestRunner) -> void:
|
||||
var cfg := PrototypeConfig.new()
|
||||
# Mouse: the offset muzzle line passes through the cursor point, for all directions.
|
||||
var worst := 0.0
|
||||
for i in 32:
|
||||
var ang := TAU * i / 32.0
|
||||
for dist: float in [1.0, 3.0, 9.0]:
|
||||
var target := Vector2(cos(ang), sin(ang)) * dist
|
||||
var d := PlayerInput.muzzle_corrected_aim(target, Vector2.UP)
|
||||
var right := Vector2(-d.y, d.x)
|
||||
var muzzle := d * cfg.muzzle_distance + right * WeaponController.SIDE_OFFSET
|
||||
var rel := target - muzzle
|
||||
worst = maxf(worst, absf(rel.x * d.y - rel.y * d.x)) # distance from target to the bullet line
|
||||
r.check(worst < 1e-4, "mouse aim: bullet line passes through the cursor in all directions (worst %.6f m)" % worst)
|
||||
|
||||
var cam := Camera3D.new()
|
||||
cam.set_script(load("res://prototype/scripts/camera_rig.gd"))
|
||||
r.root.add_child(cam)
|
||||
(cam as CameraRig).setup(cfg, Rect2(-16, -16, 32, 32), 2.4)
|
||||
var rig := cam as CameraRig
|
||||
var input := PlayerInput.new(cfg)
|
||||
input.reset(Vector2(0, -1))
|
||||
input.active_device = PlayerInput.Device.GAMEPAD
|
||||
var fwd := rig.flat_forward()
|
||||
var right3 := rig.flat_right()
|
||||
|
||||
# Below the radial dead zone: no change.
|
||||
Input.action_press("aim_right", cfg.aim_dead_zone * 0.8)
|
||||
input.poll(rig, Vector3.ZERO)
|
||||
r.check(input.aim == Vector2(0, -1), "stick inside the dead zone does not move the aim")
|
||||
Input.action_release("aim_right")
|
||||
|
||||
var dirs := [[1, 0], [1, 1], [0, 1], [-1, 1], [-1, 0], [-1, -1], [0, -1], [1, -1]]
|
||||
var max_err := 0.0
|
||||
for dv: Array in dirs:
|
||||
var v := Vector2(dv[0], dv[1]).normalized()
|
||||
_set_stick("aim_left", "aim_right", v.x)
|
||||
_set_stick("aim_down", "aim_up", v.y)
|
||||
input.poll(rig, Vector3.ZERO)
|
||||
var w := right3 * v.x + fwd * v.y
|
||||
max_err = maxf(max_err, input.aim.distance_to(Vector2(w.x, w.z).normalized()))
|
||||
r.check(max_err < 1e-3, "gamepad aim matches camera-relative stick direction in 8 directions (err %.5f)" % max_err)
|
||||
var last := input.aim
|
||||
for a in ["aim_left", "aim_right", "aim_up", "aim_down"]:
|
||||
Input.action_release(a)
|
||||
input.poll(rig, Vector3.ZERO)
|
||||
r.check(input.aim == last, "aim is retained when the stick is released")
|
||||
|
||||
# Device switching: small mouse drift does not steal aim from the gamepad.
|
||||
for i in 3:
|
||||
input.handle_event(_motion(Vector2(3, 0)))
|
||||
r.check(input.active_device == PlayerInput.Device.GAMEPAD, "9 px of mouse drift keeps gamepad aim")
|
||||
input.handle_event(_motion(Vector2(4, 0)))
|
||||
r.check(input.active_device == PlayerInput.Device.MOUSE, "meaningful mouse travel switches to mouse aim")
|
||||
Input.action_press("aim_right", cfg.aim_dead_zone * 0.8)
|
||||
input.poll(rig, Vector3.ZERO)
|
||||
r.check(input.active_device == PlayerInput.Device.MOUSE, "stick noise inside the dead zone does not switch to gamepad")
|
||||
Input.action_press("aim_right", 1.0)
|
||||
input.poll(rig, Vector3.ZERO)
|
||||
r.check(input.active_device == PlayerInput.Device.GAMEPAD, "deliberate stick input switches to gamepad")
|
||||
Input.action_release("aim_right")
|
||||
|
||||
# Diagonal movement is not faster.
|
||||
Input.action_press("move_forward")
|
||||
Input.action_press("move_right")
|
||||
input.poll(rig, Vector3.ZERO)
|
||||
r.check(absf(input.move.length() - 1.0) < 1e-4, "diagonal move vector is normalized (|v|=%.4f)" % input.move.length())
|
||||
Input.action_release("move_forward")
|
||||
Input.action_release("move_right")
|
||||
cam.queue_free()
|
||||
await r.ticks(1)
|
||||
|
||||
|
||||
func _set_stick(neg: String, pos: String, value: float) -> void:
|
||||
Input.action_release(neg)
|
||||
Input.action_release(pos)
|
||||
if value > 0.0:
|
||||
Input.action_press(pos, value)
|
||||
elif value < 0.0:
|
||||
Input.action_press(neg, -value)
|
||||
|
||||
|
||||
func _motion(rel: Vector2) -> InputEventMouseMotion:
|
||||
var e := InputEventMouseMotion.new()
|
||||
e.relative = rel
|
||||
return e
|
||||
1
prototype/tests/test_input.gd.uid
Normal file
1
prototype/tests/test_input.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://d01nfenoky66s
|
||||
79
prototype/tests/test_pool.gd
Normal file
79
prototype/tests/test_pool.gd
Normal file
|
|
@ -0,0 +1,79 @@
|
|||
extends RefCounted
|
||||
## Pool acquire/release/exhaustion, swap-removal identity bookkeeping, slot reuse hygiene,
|
||||
## stale handles, and render-slot mapping.
|
||||
|
||||
|
||||
func run(r: TestRunner) -> void:
|
||||
var cfg := PrototypeConfig.new()
|
||||
cfg.enemy_capacity = 8
|
||||
var nav := TestRunner.make_nav(PackedFloat32Array(), cfg)
|
||||
var h := TestRunner.make_horde(r, cfg, nav)
|
||||
|
||||
var handles := PackedInt32Array()
|
||||
for i in 8:
|
||||
handles.append(h.spawn(-6.0 + i, 3.0))
|
||||
r.check(h.active_count == 8, "8 spawns fill the pool")
|
||||
r.check(h.spawn(0, 0) == -1 and h.spawn_skipped == 1, "spawn on a full pool is skipped and counted")
|
||||
r.check(h.active_count == 8, "exhaustion never grows the pool")
|
||||
h.commit_render()
|
||||
r.check(h.renderer.multimesh.visible_instance_count == 8, "visible_instance_count tracks active count")
|
||||
|
||||
# Kill dense slot 2 (handle 2) and give the bird in the last slot distinctive state.
|
||||
h.attack_cd[7] = 0.5
|
||||
h.vel_x[7] = 1.25
|
||||
var moved_handle := handles[7]
|
||||
var moved_id := h.dense_id[7]
|
||||
var moved_pos := Vector2(h.pos_x[7], h.pos_z[7])
|
||||
r.check(h.apply_hit(2), "hit on a live bird is applied")
|
||||
r.check(not h.apply_hit(2), "second hit on the same dead bird in the same tick is rejected")
|
||||
r.check(h.kills == 1 and h.alive_count() == 7, "one kill pending")
|
||||
r.check(h.active_count == 8, "removal is deferred until commit")
|
||||
h.commit_removals()
|
||||
h.commit_render()
|
||||
r.check(h.active_count == 7, "commit removes the bird")
|
||||
r.check(h.dense_id[2] == moved_id and h.id_dense[moved_id] == 2, "last bird swapped into the freed slot; id->dense updated")
|
||||
r.check(Vector2(h.pos_x[2], h.pos_z[2]) == moved_pos, "swapped bird keeps its position")
|
||||
r.check(is_equal_approx(h.attack_cd[2], 0.5) and is_equal_approx(h.vel_x[2], 1.25), "swapped bird keeps cooldown and velocity")
|
||||
r.check(h.resolve_handle(moved_handle) == 2, "moved bird's handle resolves to its new slot")
|
||||
var b := h.renderer.buffer
|
||||
var o := 2 * HordeRenderer.STRIDE
|
||||
r.check(is_equal_approx(b[o + 3], moved_pos.x) and is_equal_approx(b[o + 11], moved_pos.y), "render slot follows the swap")
|
||||
r.check(h.renderer.multimesh.visible_instance_count == 7, "dead bird left rendering immediately")
|
||||
var dead_handle := handles[2]
|
||||
r.check(h.resolve_handle(dead_handle) == -1, "dead bird's handle is stale")
|
||||
r.check(not h.apply_hit_handle(dead_handle), "stale handle cannot damage")
|
||||
|
||||
# Reuse: the freed id is acquired again; every field must be fresh.
|
||||
var new_handle := h.spawn(4.0, -4.0)
|
||||
r.check(new_handle != -1 and (new_handle & HordeSystem.ID_MASK) == (dead_handle & HordeSystem.ID_MASK), "freed id is reused")
|
||||
r.check(new_handle != dead_handle, "reused id has a new generation")
|
||||
r.check(not h.apply_hit_handle(dead_handle), "old handle still cannot damage the new occupant")
|
||||
var d := h.resolve_handle(new_handle)
|
||||
r.check(d == 7, "new bird occupies the dense tail slot")
|
||||
r.check(h.health[d] == cfg.enemy_health and h.alive[d] == 1, "fresh health and alive flag")
|
||||
r.check(h.attack_cd[d] == 0.0 and h.vel_x[d] == 0.0 and h.vel_z[d] == 0.0, "fresh cooldown and velocity")
|
||||
r.check(h.prev_x[d] == 4.0 and h.prev_z[d] == -4.0, "previous position equals spawn position (no streak)")
|
||||
r.check(h.steer_x[d] == 0.0 and h.desire_x[d] == 0.0 and h.state[d] == ChaseBehavior.STATE_CHASE, "fresh steering and behavior state")
|
||||
|
||||
# Kill several in one tick, including the last slot, then verify mapping consistency.
|
||||
h.apply_hit(0)
|
||||
h.apply_hit(h.active_count - 1)
|
||||
h.apply_hit(3)
|
||||
h.commit_removals()
|
||||
r.check(h.active_count == 5, "three simultaneous kills removed")
|
||||
var ok := true
|
||||
for i in h.active_count:
|
||||
var id := h.dense_id[i]
|
||||
ok = ok and h.id_dense[id] == i and h.alive[i] == 1
|
||||
r.check(ok, "every active slot maps to a live id and back")
|
||||
var free_ok := true
|
||||
for id in cfg.enemy_capacity:
|
||||
if h.id_dense[id] >= 0:
|
||||
free_ok = free_ok and h.dense_id[h.id_dense[id]] == id
|
||||
r.check(free_ok, "no dangling id->dense entries")
|
||||
|
||||
# Full reset restores an empty pool with zeroed diagnostics.
|
||||
h.reset_round(PackedVector2Array([Vector2(1, 1), Vector2(2, 2)]), PackedVector2Array(), 7, Vector2.ZERO)
|
||||
r.check(h.active_count == 2 and h.kills == 0 and h.spawn_skipped == 0, "reset_round restores population and counters")
|
||||
r.check(h.resolve_handle(new_handle) == -1, "handles from before a reset are stale")
|
||||
h.queue_free()
|
||||
1
prototype/tests/test_pool.gd.uid
Normal file
1
prototype/tests/test_pool.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://1ejrgcq7imwq
|
||||
122
prototype/tests/test_projectiles.gd
Normal file
122
prototype/tests/test_projectiles.gd
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
extends RefCounted
|
||||
## Swept projectiles: nearest target, walls block birds behind them, no tunneling at high
|
||||
## speed, muzzle-through-wall, relative motion, dead/removed targets, exhaustion, expiry.
|
||||
|
||||
const H := 1.1
|
||||
|
||||
|
||||
func run(r: TestRunner) -> void:
|
||||
var cfg := PrototypeConfig.new()
|
||||
cfg.enemy_capacity = 16
|
||||
cfg.projectile_capacity = 4
|
||||
cfg.combat_height = H
|
||||
# Wall: x in [-1, 1], z in [-4.25, -3.75], as a nav footprint and as a physics box.
|
||||
var wall := Rect2(-1, -4.25, 2, 0.5)
|
||||
var nav := TestRunner.make_nav(PackedFloat32Array([wall.position.x, wall.position.y, wall.end.x, wall.end.y]), cfg)
|
||||
var body := StaticBody3D.new()
|
||||
body.collision_layer = Arena.WORLD_LAYER
|
||||
var shape := CollisionShape3D.new()
|
||||
var box := BoxShape3D.new()
|
||||
box.size = Vector3(wall.size.x, 2.0, wall.size.y)
|
||||
shape.shape = box
|
||||
shape.position = Vector3(wall.get_center().x, 1.0, wall.get_center().y)
|
||||
body.add_child(shape)
|
||||
r.root.add_child(body)
|
||||
var horde := TestRunner.make_horde(r, cfg, nav)
|
||||
var ps := ProjectileSystem.new()
|
||||
r.root.add_child(ps)
|
||||
ps.setup(cfg, horde, Rect2(-10, -10, 20, 20), RID())
|
||||
await r.ticks(3)
|
||||
var fwd := Vector3(0, 0, -1)
|
||||
|
||||
# Nearest of two birds on the line is hit; the far one survives.
|
||||
var near := horde.spawn(0, -2)
|
||||
var far := horde.spawn(0, -3)
|
||||
horde.rebuild_grid()
|
||||
r.check(ps.fire(Vector3(0, H, 0), Vector3(0, H, -0.5), fwd), "shot spawned")
|
||||
_run(ps, cfg, 30)
|
||||
r.check(ps.hits_enemy == 1, "exactly one enemy hit (no piercing)")
|
||||
r.check(not horde.is_alive_slot(horde.resolve_handle(near)), "nearest bird killed")
|
||||
r.check(horde.is_alive_slot(horde.resolve_handle(far)), "bird behind it survives")
|
||||
horde.commit_removals()
|
||||
horde.apply_hit(horde.resolve_handle(far))
|
||||
horde.commit_removals()
|
||||
|
||||
# Wall blocks a bird directly behind it.
|
||||
var hidden := horde.spawn(0, -5)
|
||||
horde.rebuild_grid()
|
||||
ps.fire(Vector3(0, H, 0), Vector3(0, H, -0.5), fwd)
|
||||
_run(ps, cfg, 30)
|
||||
r.check(ps.hits_world == 1 and horde.is_alive_slot(horde.resolve_handle(hidden)), "wall stops the bullet; bird behind cover survives")
|
||||
|
||||
# Bird in front of the wall is hit before the wall.
|
||||
var front := horde.spawn(0, -3.2)
|
||||
horde.rebuild_grid()
|
||||
ps.fire(Vector3(0, H, 0), Vector3(0, H, -0.5), fwd)
|
||||
_run(ps, cfg, 30)
|
||||
r.check(not horde.is_alive_slot(horde.resolve_handle(front)) and ps.hits_world == 1, "bird in front of the wall is hit first")
|
||||
horde.commit_removals()
|
||||
|
||||
# Barrel poking through the wall: origin->muzzle crosses it, so nothing spawns beyond.
|
||||
horde.rebuild_grid()
|
||||
var ok := ps.fire(Vector3(0, H, -3.5), Vector3(0, H, -4.6), fwd)
|
||||
r.check(not ok and ps.blocked_at_muzzle == 1 and ps.active_count == 0, "shot through a wall at the muzzle is blocked")
|
||||
r.check(horde.is_alive_slot(horde.resolve_handle(hidden)), "bird beyond the wall untouched by the blocked shot")
|
||||
|
||||
# High speed: 600 m/s = 10 m per tick still hits a bird mid-segment.
|
||||
cfg.projectile_speed = 600.0
|
||||
var lane := horde.spawn(5, -6)
|
||||
horde.rebuild_grid()
|
||||
ps.fire(Vector3(5, H, 0), Vector3(5, H, -0.5), fwd)
|
||||
ps.step(1.0 / 60.0)
|
||||
r.check(not horde.is_alive_slot(horde.resolve_handle(lane)), "10 m/tick bullet does not tunnel through a bird")
|
||||
horde.commit_removals()
|
||||
cfg.projectile_speed = 24.0
|
||||
|
||||
# Relative motion (solver math, exaggerated 0.8 m bird motion): the bird crosses the bullet
|
||||
# line during the tick while both of its endpoints stay outside the 0.35 m proxy, so an
|
||||
# endpoint-overlap test misses and the swept test must hit. The end position stays inside
|
||||
# the broad-phase margin, so candidate gathering is not what is being tested here.
|
||||
var mover := horde.spawn(-5.4, -5)
|
||||
var d := horde.resolve_handle(mover)
|
||||
horde.prev_x[d] = -4.6
|
||||
horde.prev_z[d] = -5.0
|
||||
horde.rebuild_grid()
|
||||
r.check(horde.sweep_hit(-5, -4.5, -5, -5.5, false) == -1, "endpoint (static) test misses the crossing bird")
|
||||
r.check(horde.sweep_hit(-5, -4.5, -5, -5.5, true) == d, "relative-motion test hits the crossing bird (t=%.2f)" % horde.hit_t)
|
||||
horde.apply_hit(d)
|
||||
horde.commit_removals()
|
||||
|
||||
# A bird killed earlier this tick (pending removal) is passed through; the one behind is hit.
|
||||
var dead_now := horde.spawn(-8, -2)
|
||||
var behind := horde.spawn(-8, -3)
|
||||
horde.rebuild_grid()
|
||||
horde.apply_hit(horde.resolve_handle(dead_now))
|
||||
ps.fire(Vector3(-8, H, 0), Vector3(-8, H, -0.5), fwd)
|
||||
_run(ps, cfg, 30)
|
||||
r.check(not horde.is_alive_slot(horde.resolve_handle(behind)), "pending-dead bird is ignored; the bird behind is hit")
|
||||
r.check(horde.kills == 7, "no double kill of the pending bird (kills=%d)" % horde.kills)
|
||||
horde.commit_removals()
|
||||
|
||||
# Exhaustion: capacity 4; the 5th shot is skipped and counted, live bullets untouched.
|
||||
ps.reset_state()
|
||||
for i in 4:
|
||||
ps.fire(Vector3(8, H, 0), Vector3(8, H, -0.5), Vector3(0, 0, 1))
|
||||
var fifth := ps.fire(Vector3(8, H, 0), Vector3(8, H, -0.5), Vector3(0, 0, 1))
|
||||
r.check(not fifth and ps.exhausted == 1 and ps.active_count == 4, "5th shot skipped, pool not grown, nothing stolen")
|
||||
_run(ps, cfg, 200)
|
||||
r.check(ps.active_count == 0 and ps.exited + ps.expired == 4, "bullets released on arena exit / expiry")
|
||||
ps.commit_render()
|
||||
r.check(ps._renderer.multimesh.visible_instance_count == 0, "released bullets stop rendering")
|
||||
|
||||
ps.queue_free()
|
||||
horde.queue_free()
|
||||
body.queue_free()
|
||||
await r.ticks(1)
|
||||
|
||||
|
||||
func _run(ps: ProjectileSystem, cfg: PrototypeConfig, n: int) -> void:
|
||||
for i in n:
|
||||
if ps.active_count == 0:
|
||||
return
|
||||
ps.step(1.0 / cfg.physics_ticks)
|
||||
1
prototype/tests/test_projectiles.gd.uid
Normal file
1
prototype/tests/test_projectiles.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://bkcmta8nni5ww
|
||||
286
prototype/tests/test_round.gd
Normal file
286
prototype/tests/test_round.gd
Normal file
|
|
@ -0,0 +1,286 @@
|
|||
extends RefCounted
|
||||
## Integration tests on the real main scene: three-hit death with authoritative invulnerability,
|
||||
## melee blocked by cover, victory, loss, the loss-before-victory tie policy, exact restarts from
|
||||
## play / victory / death, 20 repeated resets with stable object counts, fresh-press firing,
|
||||
## and world/crowd contact validity in the bottleneck scenario.
|
||||
|
||||
var _scene: RoundController
|
||||
var _snap: Dictionary = {}
|
||||
var _reset_count: int = 0
|
||||
var _reset_links: int = 0
|
||||
|
||||
|
||||
func run(r: TestRunner) -> void:
|
||||
var cfg := (load("res://prototype/resources/default_config.tres") as PrototypeConfig).duplicate() as PrototypeConfig
|
||||
_scene = (load("res://prototype/scenes/main.tscn") as PackedScene).instantiate() as RoundController
|
||||
_scene.config = cfg
|
||||
_scene.round_reset.connect(_on_reset)
|
||||
r.root.add_child(_scene)
|
||||
await r.ticks(2)
|
||||
var s := _scene
|
||||
r.check(s.state == RoundController.State.PLAYING, "round reaches PLAYING after load")
|
||||
r.check(s.horde.active_count == cfg.enemy_count, "exactly %d birds at start (got %d)" % [cfg.enemy_count, s.horde.active_count])
|
||||
r.check(s.horde.spawn_skipped == 0, "normal round does not exhaust the bird pool")
|
||||
r.info("load %d ms, %d spawn points, nav %d cells" % [s.load_msec, s.spawn_points.size(), s.nav.cell_count()])
|
||||
var base := _snap.duplicate(true)
|
||||
_reset_links = s.round_reset.get_connections().size()
|
||||
|
||||
await _three_hits(r)
|
||||
await _same_tick_attacks(r)
|
||||
await _melee_cover(r)
|
||||
await _fire_cadence(r)
|
||||
|
||||
# Restart from active play (scripted run that moves, fires, and kills).
|
||||
var scripted := ScriptedInput.new(s.config)
|
||||
scripted.mode = ScriptedInput.Mode.ROUTE
|
||||
scripted.route = s.layout.route
|
||||
s.input = scripted
|
||||
await _restart(r)
|
||||
await r.ticks(240)
|
||||
r.info("after 4 s of scripted play: state %s, birds %d, shots %d, kills %d, player health %d" % [
|
||||
RoundController.State.keys()[s.state], s.horde.active_count, s.projectiles.fired, s.horde.kills, s.player.health])
|
||||
r.check(s.projectiles.fired > 0 and s.ticks > 0, "scripted play fired shots")
|
||||
await _restart(r)
|
||||
r.check(_equal(base, _snap, r), "restart from active play restores the exact initial state")
|
||||
|
||||
# Victory, then restart.
|
||||
for i in s.horde.active_count:
|
||||
s.horde.apply_hit(i)
|
||||
await r.ticks(2)
|
||||
r.check(s.state == RoundController.State.WON, "killing the final bird wins")
|
||||
r.check(s.hud.end_panel.visible and s.hud.restart_button.has_focus(), "victory overlay shown with focused Restart button")
|
||||
await _restart(r)
|
||||
r.check(_equal(base, _snap, r), "restart from victory restores the exact initial state")
|
||||
await r.ticks(1)
|
||||
r.check(not s.hud.end_panel.visible and s.state == RoundController.State.PLAYING, "overlay hidden and playing after restart")
|
||||
|
||||
# Death, then restart.
|
||||
s.player.invulnerable_left = 0.0
|
||||
s.player.health = 1
|
||||
s.player.try_damage()
|
||||
await r.ticks(2)
|
||||
r.check(s.state == RoundController.State.LOST, "lethal damage loses")
|
||||
await _restart(r)
|
||||
r.check(_equal(base, _snap, r), "restart from death restores the exact initial state")
|
||||
|
||||
# Tie: the last birds and the player die on the same tick -> loss.
|
||||
await r.ticks(1)
|
||||
for i in s.horde.active_count:
|
||||
s.horde.apply_hit(i)
|
||||
s.player.invulnerable_left = 0.0
|
||||
s.player.health = 1
|
||||
s.player.try_damage()
|
||||
await r.ticks(2)
|
||||
r.check(s.state == RoundController.State.LOST, "simultaneous last kill and player death resolves as a loss")
|
||||
|
||||
# Idempotent restart: several requests in one tick produce one reset.
|
||||
var before := _reset_count
|
||||
s.request_restart()
|
||||
s.request_restart()
|
||||
s.request_restart()
|
||||
await r.ticks(3)
|
||||
r.check(_reset_count == before + 1, "duplicate restart requests are ignored (%d resets)" % (_reset_count - before))
|
||||
|
||||
await _repeated_resets(r, base)
|
||||
await _contacts(r)
|
||||
s.queue_free()
|
||||
await r.ticks(2)
|
||||
|
||||
|
||||
func _on_reset() -> void:
|
||||
_reset_count += 1
|
||||
_snap = _snapshot(_scene)
|
||||
|
||||
|
||||
func _restart(r: TestRunner) -> void:
|
||||
_scene.request_restart()
|
||||
await _scene.round_reset
|
||||
await r.ticks(1)
|
||||
|
||||
|
||||
func _snapshot(s: RoundController) -> Dictionary:
|
||||
var h := s.horde
|
||||
var n := h.active_count
|
||||
return {
|
||||
"state_ticks": s.ticks, "round_time": s.round_time,
|
||||
"active": n, "kills": h.kills, "spawn_skipped": h.spawn_skipped,
|
||||
"pos_x": h.pos_x.slice(0, n), "pos_z": h.pos_z.slice(0, n),
|
||||
"prev_x": h.prev_x.slice(0, n), "vel_x": h.vel_x.slice(0, n), "vel_z": h.vel_z.slice(0, n),
|
||||
"steer_x": h.steer_x.slice(0, n), "head_x": h.head_x.slice(0, n), "head_z": h.head_z.slice(0, n),
|
||||
"health": h.health.slice(0, n), "attack_cd": h.attack_cd.slice(0, n), "alive": h.alive.slice(0, n),
|
||||
"flap": h.flap_phase.slice(0, n), "dense_id": h.dense_id.slice(0, n),
|
||||
"render": h.renderer.buffer.slice(0, n * HordeRenderer.STRIDE),
|
||||
"visible": h.renderer.multimesh.visible_instance_count,
|
||||
"player_pos": s.player.global_position, "player_vel": s.player.velocity,
|
||||
"player_health": s.player.health, "invuln": s.player.invulnerable_left, "alive_p": s.player.alive,
|
||||
"aim": s.player.aim, "facing": s.player.visual.rotation.y,
|
||||
"bullets": s.projectiles.active_count, "fired": s.projectiles.fired,
|
||||
"bullet_visible": s.projectiles._renderer.multimesh.visible_instance_count,
|
||||
"camera": s.camera.global_transform, "camera_size": s.camera.size,
|
||||
"nav_target": s.nav.target_cell, "nav_dist_hash": hash(s.nav.dist),
|
||||
"weapon_release": s.player.weapon._needs_release, "weapon_cd": s.player.weapon._cooldown_ticks,
|
||||
"stats_nav": s.stats.nav_rebuilds,
|
||||
}
|
||||
|
||||
|
||||
func _equal(a: Dictionary, b: Dictionary, r: TestRunner) -> bool:
|
||||
var same := true
|
||||
for k in a:
|
||||
if not b.has(k) or a[k] != b[k]:
|
||||
r.info("snapshot differs at '%s'" % k)
|
||||
same = false
|
||||
return same
|
||||
|
||||
|
||||
func _three_hits(r: TestRunner) -> void:
|
||||
var p := _scene.player
|
||||
await _restart(r)
|
||||
r.check(p.try_damage() and p.health == 2, "first hit accepted")
|
||||
r.check(not p.try_damage() and p.health == 2, "hit during invulnerability rejected")
|
||||
p.invulnerable_left = 0.0
|
||||
r.check(p.try_damage() and p.health == 1, "second hit accepted after invulnerability")
|
||||
p.invulnerable_left = 0.0
|
||||
r.check(p.try_damage() and p.health == 0 and not p.alive, "third accepted hit kills")
|
||||
r.check(p.accepted_hits == 3 and p.rejected_hits == 1, "accepted/rejected counts")
|
||||
r.check(not p.try_damage(), "no damage after death")
|
||||
await r.ticks(2)
|
||||
r.check(_scene.state == RoundController.State.LOST, "death ends the round")
|
||||
|
||||
|
||||
## Five birds in reach on the same tick: health drops once; invulnerability rejects the rest.
|
||||
func _same_tick_attacks(r: TestRunner) -> void:
|
||||
await _restart(r)
|
||||
var s := _scene
|
||||
var h := s.horde
|
||||
var pp := Vector2(s.player.global_position.x, s.player.global_position.z)
|
||||
for i in 5:
|
||||
var a := TAU * i / 5.0
|
||||
h.pos_x[i] = pp.x + cos(a) * 0.75
|
||||
h.pos_z[i] = pp.y + sin(a) * 0.75
|
||||
h.attack_cd[i] = 0.0
|
||||
h._player = pp
|
||||
h.rebuild_grid()
|
||||
var hp := s.player.health
|
||||
h.evaluate_attacks(s.player)
|
||||
r.check(s.player.health == hp - 1, "five simultaneous attacks reduce health once (%d -> %d)" % [hp, s.player.health])
|
||||
r.check(s.player.rejected_hits == 4 and h.attacks_attempted == 5, "four attacks rejected by invulnerability")
|
||||
var cds := true
|
||||
for i in 5:
|
||||
cds = cds and is_equal_approx(h.attack_cd[i], s.config.enemy_attack_cooldown)
|
||||
r.check(cds, "each attacking bird starts its cooldown")
|
||||
|
||||
|
||||
## Melee needs line of sight: a bird across the corridor wall cannot hit, even with long reach.
|
||||
func _melee_cover(r: TestRunner) -> void:
|
||||
await _restart(r)
|
||||
var s := _scene
|
||||
var h := s.horde
|
||||
var reach := s.config.enemy_attack_reach
|
||||
s.config.enemy_attack_reach = 1.5
|
||||
var pp := Vector2(-9.0, 5.2) # south of the corridor wall z in [5.75, 6.25]
|
||||
h.pos_x[0] = -9.0
|
||||
h.pos_z[0] = 6.8
|
||||
h.attack_cd[0] = 0.0
|
||||
h._player = pp
|
||||
h.rebuild_grid()
|
||||
var hp := s.player.health
|
||||
h.evaluate_attacks(s.player)
|
||||
r.check(s.player.health == hp and h.attacks_blocked_by_cover >= 1, "attack through the wall is blocked")
|
||||
h.pos_z[0] = 4.0
|
||||
h.rebuild_grid()
|
||||
h.evaluate_attacks(s.player)
|
||||
r.check(s.player.health == hp - 1, "same bird on the near side can attack")
|
||||
s.config.enemy_attack_reach = reach
|
||||
|
||||
|
||||
## Fire cadence and fresh-press rule.
|
||||
func _fire_cadence(r: TestRunner) -> void:
|
||||
await _restart(r)
|
||||
var w := _scene.player.weapon
|
||||
var origin := Vector3(0, _scene.config.combat_height, 2)
|
||||
w.reset_state()
|
||||
for i in 30:
|
||||
w.step(true, origin, Vector2(0, -1))
|
||||
r.check(w.shots_fired == 0, "held fire after reset does not shoot")
|
||||
w.step(false, origin, Vector2(0, -1))
|
||||
for i in 60:
|
||||
w.step(true, origin, Vector2(0, -1))
|
||||
r.check(w.shots_fired == 6, "6 shots per second while held (got %d in 60 ticks)" % w.shots_fired)
|
||||
_scene.projectiles.reset_state()
|
||||
|
||||
|
||||
func _repeated_resets(r: TestRunner, base: Dictionary) -> void:
|
||||
var s := _scene
|
||||
var objs := PackedInt32Array()
|
||||
var nodes := PackedInt32Array()
|
||||
var mismatches := 0
|
||||
for i in 20:
|
||||
await r.ticks(30)
|
||||
await _restart(r)
|
||||
if not _equal(base, _snap, r):
|
||||
mismatches += 1
|
||||
objs.append(int(Performance.get_monitor(Performance.OBJECT_COUNT)))
|
||||
nodes.append(int(Performance.get_monitor(Performance.OBJECT_NODE_COUNT)))
|
||||
r.check(mismatches == 0, "20 resets all restore the exact initial state (%d mismatches)" % mismatches)
|
||||
var o_lo := objs[5]
|
||||
var o_hi := objs[5]
|
||||
for i in range(5, objs.size()):
|
||||
o_lo = mini(o_lo, objs[i])
|
||||
o_hi = maxi(o_hi, objs[i])
|
||||
r.info("object count over resets 6..20: %d..%d, nodes %d..%d" % [o_lo, o_hi, nodes[5], nodes[nodes.size() - 1]])
|
||||
r.check(o_hi - o_lo <= 2, "object count stable across resets after warm-up")
|
||||
r.check(nodes[nodes.size() - 1] == nodes[5], "node count stable across resets")
|
||||
r.check(s.hud.restart_button.pressed.get_connections().size() == 1, "restart button has exactly one connection")
|
||||
r.check(s.round_reset.get_connections().size() == _reset_links, "round_reset connections unchanged across resets")
|
||||
r.check(s.get_viewport().size_changed.get_connections().size() >= 1 \
|
||||
and s.get_viewport().size_changed.is_connected(s.camera.reset_view), "camera resize hook connected once")
|
||||
|
||||
|
||||
## Bottleneck stress: the full 64-bird pool funneling toward an invulnerable player in the
|
||||
## corridor. Every few ticks
|
||||
## verify no bird overlaps a footprint, the player stays clear of footprints, and no bird
|
||||
## center is deep inside the player.
|
||||
func _contacts(r: TestRunner) -> void:
|
||||
var s := _scene
|
||||
var cfg := s.config
|
||||
var scripted := ScriptedInput.new(cfg)
|
||||
scripted.mode = ScriptedInput.Mode.HOLD_POINT
|
||||
scripted.hold_point = s.layout.bottleneck_point
|
||||
scripted.fire_enabled = false
|
||||
s.input = scripted
|
||||
cfg.stress_invulnerable = true
|
||||
await _restart(r)
|
||||
var h := s.horde
|
||||
var extra := h.capacity - h.active_count
|
||||
var rng := RandomNumberGenerator.new()
|
||||
rng.seed = 7
|
||||
var pts := HordeSystem.plan_spawn_points(s.nav, s.layout.player_start, extra, 6.0, 0.8, rng)
|
||||
for p in pts:
|
||||
h.spawn(p.x, p.y)
|
||||
r.check(h.active_count == h.capacity and h.spawn_skipped == 0, "pool filled to capacity without exhaustion")
|
||||
var bird_bad := 0
|
||||
var player_bad := 0
|
||||
var center_bad := 0
|
||||
var worst := 0.0
|
||||
for t in 900:
|
||||
await r.ticks(1)
|
||||
if t % 5 != 0:
|
||||
continue
|
||||
var pp := s.player.global_position
|
||||
if s.nav.circle_overlaps(pp.x, pp.z, cfg.player_radius - 0.02):
|
||||
player_bad += 1
|
||||
for i in h.active_count:
|
||||
var x := h.pos_x[i]
|
||||
var z := h.pos_z[i]
|
||||
if s.nav.circle_overlaps(x, z, cfg.enemy_radius - 0.01):
|
||||
bird_bad += 1
|
||||
var dp := Vector2(x - pp.x, z - pp.z).length()
|
||||
worst = maxf(worst, (cfg.enemy_radius + cfg.player_radius) - dp)
|
||||
if dp < (cfg.enemy_radius + cfg.player_radius) * 0.5:
|
||||
center_bad += 1
|
||||
r.info("bottleneck: %d birds, player at %s, deepest bird/player overlap %.3f m, melee attempts %d" % [
|
||||
h.active_count, s.player.global_position, worst, h.attacks_attempted])
|
||||
r.check(bird_bad == 0, "no bird overlaps a footprint in the bottleneck (%d samples)" % bird_bad)
|
||||
r.check(player_bad == 0, "player never overlaps a footprint (%d samples)" % player_bad)
|
||||
r.check(center_bad == 0, "no bird center passes into the player (%d samples)" % center_bad)
|
||||
cfg.stress_invulnerable = false
|
||||
1
prototype/tests/test_round.gd.uid
Normal file
1
prototype/tests/test_round.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://hig6dorwskw7
|
||||
Loading…
Add table
Add a link
Reference in a new issue