mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Add test for HP rewind
This commit is contained in:
parent
b330aec03e
commit
7507fee9f9
@ -75,6 +75,16 @@ namespace osu.Game.Tests.Gameplay
|
||||
assertHealthNotEqualTo(1);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestHealthGainedAfterRewind()
|
||||
{
|
||||
createProcessor(createBeatmap(0, 1000));
|
||||
setTime(500);
|
||||
|
||||
setTime(0);
|
||||
assertHealthEqualTo(1);
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void TestHealthGainedOnHit()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user