public void HimetricDpi200() { const int dpi = 200; const int pixels = 100; HiMetric h1 = new HiMetric(pixels, dpi); HiMetric h2 = new HiMetric(h1.Value); Assert.IsTrue(h2.Value == h1.Value, "A1"); Assert.IsTrue(h2.GetPixels(dpi) == h1.GetPixels(dpi), "A2"); Assert.IsTrue(h2.GetPixels(dpi) == pixels, "A3"); }