LaunchCodeEducation / csharp-web-dev-curriculum

Hugo version of C# Unit 2
http://education.launchcode.org/csharp-web-dev-curriculum/
1 stars 5 forks source link

Chapter 6 Unit Testing Example Code doesn't follow C# syntax convention #66

Open matthewcreek opened 3 months ago

matthewcreek commented 3 months ago

Relevant Link

Text code block:

   namespace CarTests
   {
      [TestClass]
      public class CarTests
      {
         //TODO: add emptyTest so we can configure our runtime environment
         [TestMethod]
         public void EmptyTest() {
            Assert.AreEqual(10,10,.001);
         }
         // ... other TODOs omitted here
      }
   }

Suggested change: Format method using Allman style convention

   namespace CarTests
   {
      [TestClass]
      public class CarTests
      {
         //TODO: add emptyTest so we can configure our runtime environment
         [TestMethod]
         public void EmptyTest() 
         {
            Assert.AreEqual(10,10,.001);
         }
         // ... other TODOs omitted here
      }
   }