mirror of
https://github.com/ppy/osu
synced 2024-12-26 00:32:52 +00:00
Remove outdated/wrong test
This commit is contained in:
parent
f89b6f4465
commit
356c67f00d
@ -1,5 +0,0 @@
|
|||||||
[General]
|
|
||||||
Version: latest
|
|
||||||
|
|
||||||
[Colours]
|
|
||||||
Combo1: 255,255,255,0
|
|
@ -108,15 +108,5 @@ namespace osu.Game.Tests.Skins
|
|||||||
using (var stream = new LineBufferedReader(resStream))
|
using (var stream = new LineBufferedReader(resStream))
|
||||||
Assert.That(decoder.Decode(stream).LegacyVersion, Is.EqualTo(1.0m));
|
Assert.That(decoder.Decode(stream).LegacyVersion, Is.EqualTo(1.0m));
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void TestDecodeColourWithZeroAlpha()
|
|
||||||
{
|
|
||||||
var decoder = new LegacySkinDecoder();
|
|
||||||
|
|
||||||
using (var resStream = TestResources.OpenResource("skin-zero-alpha-colour.ini"))
|
|
||||||
using (var stream = new LineBufferedReader(resStream))
|
|
||||||
Assert.That(decoder.Decode(stream).ComboColours[0].A, Is.EqualTo(1.0f));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user