convert game playing..

This commit is contained in:
2026-09-23 12:53:52 +09:00
parent 37c7942b71
commit 5d11288a6f
136 changed files with 15856 additions and 299 deletions
@@ -3,6 +3,7 @@ using System.Reflection;
using BumpCombat.Combat;
using BumpCombat.Enemies;
using BumpCombat.Player;
using BumpCombat.Spawning;
using NUnit.Framework;
using UnityEngine;
@@ -15,6 +16,29 @@ namespace BumpCombat.Tests
private GameObject owner;
[TestCase(1, 0.00f, 1)]
[TestCase(1, 0.54f, 1)]
[TestCase(1, 0.55f, 2)]
[TestCase(1, 0.89f, 2)]
[TestCase(1, 0.90f, 3)]
[TestCase(2, 0.34f, 1)]
[TestCase(2, 0.35f, 2)]
[TestCase(2, 0.79f, 2)]
[TestCase(2, 0.80f, 3)]
[TestCase(3, 0.19f, 1)]
[TestCase(3, 0.20f, 2)]
[TestCase(3, 0.69f, 2)]
[TestCase(3, 0.70f, 3)]
public void EncounterGroupSize_UsesStageWeights(
int stageIndex,
float roll,
int expected)
{
Assert.That(
SpawnDirector.SelectEncounterGroupSize(stageIndex, roll),
Is.EqualTo(expected));
}
[SetUp]
public void SetUp()
{