Exemplo n.º 1
0
        public void GetShortTitle_EmptyString()
        {
            var s = "";

            Assert.Equal("", TitleWidget.GetShortTitle(s));
        }
Exemplo n.º 2
0
        public void GetShortTitle_SplitHyphen()
        {
            var s = "workspacer - Visual Studio Code";

            Assert.Equal("Visual Studio Code", TitleWidget.GetShortTitle(s));
        }
Exemplo n.º 3
0
        public void GetShortTitle_NoSeparators()
        {
            var s = "Visual Studio Code";

            Assert.Equal("Visual Studio Code", TitleWidget.GetShortTitle(s));
        }