//===========================================================================================
		private static void TestProfile(ExifProfile profile)
		{
			Assert.IsNotNull(profile);

			Assert.AreEqual(44, profile.Values.Count());

			foreach (ExifValue value in profile.Values)
			{
				Assert.IsNotNull(value.Value);

				if (value.Tag == ExifTag.Software)
					Assert.AreEqual("Adobe Photoshop 7.0", value.ToString());

				if (value.Tag == ExifTag.XResolution)
					Assert.AreEqual(300.0, value.Value);

				if (value.Tag == ExifTag.GPSLatitude)
				{
					double[] pos = (double[])value.Value;
					Assert.AreEqual(54, pos[0]);
					Assert.AreEqual(59.38, pos[1]);
					Assert.AreEqual(0, pos[2]);
				}

				if (value.Tag == ExifTag.ShutterSpeedValue)
					Assert.AreEqual(9.5, value.Value);
			}
		}
		public void Test_Constructor()
		{
			using (MemoryStream memStream = new MemoryStream())
			{
				using (MagickImage image = new MagickImage(Files.ImageMagickJPG))
				{
					ExifProfile profile = image.GetExifProfile();
					Assert.IsNull(profile);

					profile = new ExifProfile();
					profile.SetValue(ExifTag.Copyright, "Dirk Lemstra");

					image.AddProfile(profile);

					profile = image.GetExifProfile();
					Assert.IsNotNull(profile);

					image.Write(memStream);
				}

				memStream.Position = 0;
				using (MagickImage image = new MagickImage(memStream))
				{
					ExifProfile profile = image.GetExifProfile();

					Assert.IsNotNull(profile);
					Assert.AreEqual(1, profile.Values.Count());

					ExifValue value = profile.Values.FirstOrDefault(val => val.Tag == ExifTag.Copyright);
					TestValue(value, "Dirk Lemstra");
				}
			}
		}