Exemplo n.º 1
0
        public void FormatArtifactTest()
        {
            string name      = "Joa.JewelEarth.Seismic";
            var    service   = new NodeFormattingService();
            string formatted = service.FormatArtifact(new ArtifactNode(null, name, null));

            Assert.AreEqual("J.JE.Seismic", formatted);
        }
Exemplo n.º 2
0
        public void FormatServiceTest()
        {
            string name      = "Joa.JewelEarth.Seismic.sln";
            var    service   = new NodeFormattingService();
            string formatted = service.FormatSolution(new SolutionNode(name));

            Assert.AreEqual("J.JE.Seismic", formatted);
        }