Beispiel #1
0
        public void testRelatedSymbol()
        {
            var startSymbol = new Symbol("TEST.SYMBOL");

            AreEqual("SWITCH.SYMBOL", startSymbol.relatedPrefix("SWITCH").name);
            AreEqual("TEST.SWITCH", startSymbol.relatedSuffix("SWITCH").name);
            var startSymbol2 = new Symbol("TEST.SPY.SYMBOL");

            AreEqual("TEST.SWITCH", startSymbol2.relatedSuffixFromFirstDot(".SWITCH").name);
        }