From a4e2f6753c6c2612444847fd12f1e973a86a4aa4 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 20 May 2020 13:12:31 +0300 Subject: Fixed test SetUps and TearDowns. Did tests for Inventory and MobTile (Service/Mobs). Did some minor changes to the program. --- .../ServiceTests/SuperLayers/ImageControllerTests.cs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'MundusTests/ServiceTests/SuperLayers/ImageControllerTests.cs') diff --git a/MundusTests/ServiceTests/SuperLayers/ImageControllerTests.cs b/MundusTests/ServiceTests/SuperLayers/ImageControllerTests.cs index c8d8e06..9ab6418 100644 --- a/MundusTests/ServiceTests/SuperLayers/ImageControllerTests.cs +++ b/MundusTests/ServiceTests/SuperLayers/ImageControllerTests.cs @@ -12,25 +12,11 @@ [TestFixture] public static class ImageControllerTests { - [OneTimeSetUp] - public static void SetUp() - { - Application.Init(); - DataBaseContexts.CreateInstances(); - WI.CreateInstances(); - WI.WNewGame.OnBtnGenerateClicked(null, null); - } - - [OneTimeTearDown] - public static void TearDown() - { - Application.Quit(); - } [Test] [TestCase(1, 5)] [TestCase(2, 2)] - [TestCase(8, 11)] + [TestCase(8, 10)] public static void GetsCorrectGroundImage(int yPos, int xPos) { Image img = null; -- cgit v1.2.3