public void GetDescription()
        {
            PanelStatus panelStatusBattleship = PanelStatus.Empty;
            string      status = panelStatusBattleship.GetDescription <DescriptionAttribute>().Description;

            Assert.Equal(" ", status);
        }
Exemple #2
0
        public void GetPanelAtCoordinates()
        {
            Board       board = new Board();
            PanelStatus panelStatusBattleship = PanelStatus.Empty;
            string      status = panelStatusBattleship.GetDescription <DescriptionAttribute>().Description;
            string      output = board.Panels.At(1, 1).DisplayStatus;

            Assert.Equal(status, output);
        }