public virtual void SetAndIsInteractiveTest()
        {
            Pdf3DAnnotation pdf3DAnnotation = new Pdf3DAnnotation(new PdfDictionary());
            bool            flag            = true;

            pdf3DAnnotation.SetInteractive(flag);
            NUnit.Framework.Assert.AreEqual(flag, pdf3DAnnotation.IsInteractive().GetValue());
        }
        public virtual void SetAndGetActivationDictionaryTest()
        {
            Pdf3DAnnotation pdf3DAnnotation = new Pdf3DAnnotation(new PdfDictionary());
            PdfDictionary   dict            = new PdfDictionary();

            dict.Put(PdfName.Type, new PdfName("3DView"));
            pdf3DAnnotation.SetActivationDictionary(dict);
            NUnit.Framework.Assert.AreEqual(dict, pdf3DAnnotation.GetActivationDictionary());
        }
        public virtual void SetAndGetViewBoxTest()
        {
            Pdf3DAnnotation pdf3DAnnotation = new Pdf3DAnnotation(new PdfDictionary());
            Rectangle       rect            = new Rectangle(10, 10);

            pdf3DAnnotation.SetViewBox(rect);
            bool result = rect.EqualsWithEpsilon(pdf3DAnnotation.GetViewBox());

            NUnit.Framework.Assert.IsTrue(result, "Rectangles are different");
        }