Esempio n. 1
0
		public void NonexistantFileThrows()
		{
			using (var tempFolder = new TempFolder("TempLiftProject" + Guid.NewGuid()))
			{
				Assert.Throws<FileNotFoundException>(() => LiftSorter.SortLiftFile(Path.Combine(tempFolder.Path, "bogus.lift")));
			}
		}
Esempio n. 2
0
		public void NonexistantFileForLiftRangesDoesNotThrow()
		{
			using (var tempFolder = new TempFolder("TempLiftProject" + Guid.NewGuid()))
			{
				Assert.DoesNotThrow(() => LiftSorter.SortLiftRangesFiles(Path.Combine(tempFolder.Path, "bogus.lift-ranges")));
			}
		}