From fcc2c743990c9ec8b8def202df4582c830e33e7a Mon Sep 17 00:00:00 2001 From: Ray Koopa Date: Wed, 16 Jan 2019 13:32:41 +0100 Subject: [PATCH] Add compression tests. --- src/Syroot.Worms.Mgame.Test/PacketCompressionTests.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Syroot.Worms.Mgame.Test/PacketCompressionTests.cs b/src/Syroot.Worms.Mgame.Test/PacketCompressionTests.cs index 8ed0035..700261a 100644 --- a/src/Syroot.Worms.Mgame.Test/PacketCompressionTests.cs +++ b/src/Syroot.Worms.Mgame.Test/PacketCompressionTests.cs @@ -29,8 +29,7 @@ namespace Syroot.Worms.Mgame.Test [TestMethod] public void TestBadIndex() { - var recompressed = Recompress(_origBadIndex); - Assert.IsTrue(recompressed.SequenceEqual(_rcmpBadIndex)); + Assert.IsTrue(Recompress(_origBadIndex).SequenceEqual(_rcmpBadIndex)); } [TestMethod]