public void ParseAndToString()
        {
            const string value = "jelo esun en kasi esun";
            ComplexChain c     = ComplexChain.Parse(value);

            Console.WriteLine(c.ToJsonDcJs());
            Assert.AreEqual(value, c.ToString(), c.ToString("b"));
        }
        public void ParseTwoPiPhrasesPlusEn()
        {
            const string value = "esun pi tenpo suno en kasi pi tenpo suno";
            ComplexChain c     = ComplexChain.Parse(value);

            Assert.AreEqual(c.Particle.ToString(), Particles.en.ToString());
            Console.WriteLine(c.ToJsonDcJs());
            Assert.AreEqual(value, c.ToString(), c.ToString("b"));
        }
        public void ParseEsunEnKasi()
        {
            const string value = "esun en kasi";
            ComplexChain c     = ComplexChain.Parse(value);

            Assert.AreEqual(c.Particle.ToString(), Particles.en.ToString());
            Console.WriteLine(c.ToJsonDcJs());
            Assert.AreEqual(value, c.ToString(), c.ToString("b"));
        }
 public void TwoWordsAfterPiRequired()
 {
     try
     {
         //mi pana e sike sewi laso pi telo
         const string value = "sike sewi laso pi telo";
         ComplexChain c     = ComplexChain.Parse(value);
         Assert.AreEqual(c.Particle.ToString(), Particles.en.ToString());
         Console.WriteLine(c.ToJsonDcJs());
         Assert.AreEqual(value, c.ToString(), c.ToString("b"));
     }
     catch (TpSyntaxException ex)
     {
         Assert.Pass();
         return;
     }
     Assert.Fail();
 }