Exemplo n.º 1
0
        public void GetYearBuiltTest()
        {
            Submarine testYear = new Submarine("Test Submarine", "2004", "Submarine", new Speed(32), maxDepth: 100);

            string expectedYear = "2004";
            string actualYear   = testYear.GetYearBuilt();

            Assert.Equal(expectedYear, actualYear);
        }