Beispiel #1
0
		public void PlatformShouldUseCorrectFileExtension(PlatformName platform, string extension)
		{
			Assert.AreEqual(platform, PlatformNameExtensions.GetPlatformFromFileExtension(extension));
			Assert.AreEqual(extension, PlatformNameExtensions.GetAppExtension(platform));
		}
Beispiel #2
0
		public void UnsupportedPlatformHasNoFileExtension()
		{
			Assert.AreEqual(".none", PlatformNameExtensions.GetAppExtension((PlatformName)(-1)));
		}