public void testIsMatch5()
        {
            GEDCOMPersonalName instance1 = new GEDCOMPersonalName(null, null, "", "");

            instance1.ParseString("Ivan Ivanoff /Fedoroff/");
            bool  onlyFirstPart = false;
            float expResult     = 0.0F;
            float result        = instance1.IsMatch(null, onlyFirstPart);

            Assert.AreEqual(expResult, result, 0.0);
        }
        public void testIsMatch9()
        {
            GEDCOMPersonalName instance1 = new GEDCOMPersonalName(null, null, "", "");

            instance1.ParseString("Vasiliy Pupkin");
            GEDCOMPersonalName instance2 = new GEDCOMPersonalName(null, null, "", "");

            instance2.SetNameParts("Vasiliy Pupkin", "", "");
            bool  onlyFirstPart = false;
            float expResult     = 100.0F;
            float result        = instance1.IsMatch(instance2, onlyFirstPart);

            Assert.AreEqual(expResult, result, 0.0);
        }
        public void testIsMatch4()
        {
            GEDCOMPersonalName instance1 = new GEDCOMPersonalName(null, null, "", "");

            instance1.ParseString("Ivan Ivanoff /Fedoroff/");
            GEDCOMPersonalName instance2 = new GEDCOMPersonalName(null, null, "", "");

            instance2.SetNameParts("Pyotr", "Fedoroff", "Esquire");
            bool  onlyFirstPart = false;
            float expResult     = 100.0F;
            float result        = instance1.IsMatch(instance2, onlyFirstPart);

            Assert.AreNotEqual(expResult, result);
        }
        public void testIsMatch8()
        {
            GEDCOMPersonalName instance1 = new GEDCOMPersonalName(null, null, "", "");

            instance1.ParseString("Ivan Ivanoff /?/");

            GEDCOMPersonalName instance2 = new GEDCOMPersonalName(null, null, "", "");

            instance2.SetNameParts("Ivan Ivanoff", "Unknown", "");

            bool  onlyFirstPart = false;
            float result        = instance1.IsMatch(instance2, onlyFirstPart);

            Assert.AreEqual(100.0f, result, 0.0);
        }
        public void testIsMatch1()
        {
            GEDCOMPersonalName instance1 = new GEDCOMPersonalName(null, null, "", "");

            instance1.ParseString("Ivan Ivanoff /Fedoroff/");

            GEDCOMPersonalName instance2 = new GEDCOMPersonalName(null, null, "", "");

            instance2.ParseString("Ivan Ivanoff");

            bool  onlyFirstPart = true;
            float result        = instance1.IsMatch(instance2, onlyFirstPart);

            Assert.AreEqual(100.0f, result, 0.0);
        }