public void AAMLLoadTileTest() { ArtemisEngine.Setup("game.constants", Setup); ArtemisEngine.Begin(Initialize); AAMLFileReader fileReader = new AAMLFileReader("../../Animation/LoadTileAAMLTestFile.aaml"); try { fileReader.Read(); } catch (Exception e) { Assert.Fail(e.Message + "\nAt:\n" + e.StackTrace); } }
public void AAMLLoadDirectoryFullTest() { ArtemisEngine.Setup("game.constants", Setup); ArtemisEngine.Begin(Initialize); AAMLFileReader fileReader = new AAMLFileReader("../../Animation/LoadDirectoryFullAAMLTestFile.aaml"); try { fileReader.Read(); } catch (Exception e) { Assert.Fail(e.Message + "\nAt:\n" + e.StackTrace); } }
public void AAMLLoadDirectoryTest() { ArtemisEngine.Setup("game.constants", Setup); ArtemisEngine.Begin(Initialize); AAMLFileReader fileReader = new AAMLFileReader("../../Animation/LoadDirectoryAAMLTestFile.aaml"); try { fileReader.Read(); Assert.AreEqual(20, fileReader.Map.SpriteSheet.LoadedTextures.Count); } catch(Exception e) { Assert.Fail(e.Message + "\nAt:\n" + e.StackTrace); } }
public void AAMLLoadDirectoryTest() { ArtemisEngine.Setup("game.constants", Setup); ArtemisEngine.Begin(Initialize); AAMLFileReader fileReader = new AAMLFileReader("../../Animation/LoadDirectoryAAMLTestFile.aaml"); try { fileReader.Read(); Assert.AreEqual(20, fileReader.Map.SpriteSheet.LoadedTextures.Count); } catch (Exception e) { Assert.Fail(e.Message + "\nAt:\n" + e.StackTrace); } }