diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2020-05-20 13:12:31 +0300 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2020-05-20 13:12:31 +0300 |
| commit | a4e2f6753c6c2612444847fd12f1e973a86a4aa4 (patch) | |
| tree | 8f97d4ded431e366d8ec5e65172e2f80441dd53f /MundusTests/DataTests/Mobs/MITests.cs | |
| parent | 09d14d1f330d71bc69a4e9fedace680f9c69de3b (diff) | |
| download | Mundus-a4e2f6753c6c2612444847fd12f1e973a86a4aa4.tar Mundus-a4e2f6753c6c2612444847fd12f1e973a86a4aa4.tar.gz Mundus-a4e2f6753c6c2612444847fd12f1e973a86a4aa4.zip | |
Fixed test SetUps and TearDowns. Did tests for Inventory and MobTile (Service/Mobs). Did some minor changes to the program.
Diffstat (limited to 'MundusTests/DataTests/Mobs/MITests.cs')
| -rw-r--r-- | MundusTests/DataTests/Mobs/MITests.cs | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/MundusTests/DataTests/Mobs/MITests.cs b/MundusTests/DataTests/Mobs/MITests.cs index b0e33a6..e37212b 100644 --- a/MundusTests/DataTests/Mobs/MITests.cs +++ b/MundusTests/DataTests/Mobs/MITests.cs @@ -9,24 +9,11 @@ [TestFixture] public static class MITests { - [OneTimeSetUp] - public static void SetUp() - { - Application.Init(); - DataBaseContexts.CreateInstances(); - WI.CreateInstances(); - WI.WNewGame.OnBtnGenerateClicked(null, null); - } - - [OneTimeTearDown] - public static void TearDown() { - Application.Quit(); - } [Test] public static void CreatesPlayerInstance() { - Assert.AreNotEqual(null, MI.Player, "Player isn't instantiated"); + Assert.IsNotNull(MI.Player, "Player isn't instantiated"); } } } |
