public PortPainter CreatePortPainter(PortDefenition portDef, double X, double Y)
        {
            String      portName    = NameUtils.GetInterfaceName(portDef);
            PortPainter portPainter = new PortPainter(portDef.GUID, X, Y, portName);

            return(portPainter);
        }
        public void Interface_Name_Formatter(string input, string expected)
        {
            // act
            string output = NameUtils.GetInterfaceName(input);

            // assert
            Assert.Equal(expected, output);
        }
Exemple #3
0
        public void Convert_Interface_Snail_Name(string input, string expected)
        {
            // act
            string output = NameUtils.GetInterfaceName(input);

            // assert
            Assert.Equal(expected, output);
        }