public void TestAddNewTextureGroupCommand() { var textureGroupCollectionViewModel = new TextureGroupRangeCollectionViewModel(); textureGroupCollectionViewModel.AddNewTextureGroup.Execute(null); Assert.IsTrue(textureGroupCollectionViewModel.TextureGroups.Any()); }
public void TestRemoveTextureGroupCommand() { var textureGroupCollectionViewModel = new TextureGroupRangeCollectionViewModel(); textureGroupCollectionViewModel.AddNewTextureGroup.Execute(null); var textureGroup = textureGroupCollectionViewModel.TextureGroups.First(); textureGroupCollectionViewModel.RemoveTextureGroup.Execute(null); Assert.IsFalse(textureGroupCollectionViewModel.TextureGroups.Any()); }