diff --git a/csharp-fundamentals-class-members.Main/Core.cs b/csharp-fundamentals-class-members.Main/Core.cs index 3fcfcb2..85fdd64 100644 --- a/csharp-fundamentals-class-members.Main/Core.cs +++ b/csharp-fundamentals-class-members.Main/Core.cs @@ -20,16 +20,16 @@ public class Core //TODO: 1. Create an integer member named age with a value of 32 - public int age = 33; + public int age = 32; //TODO: 2. Create a String member named firstName with a value of "Jane" - + public string firstName = "Jane"; //TODO: 3. Create a boolean member named isProgrammer with a value of true - + public bool isProgrammer = true; //TODO: 4. Change the value below so that the tests pass. Check the README.md file for instructions on @@ -39,11 +39,11 @@ public class Core //TODO: 5. Change the value below so that the tests pass - public string firstString = "Ruby is to Python what car is to carpet."; + public string firstString = "Java is to Javascript what car is to carpet."; //TODO: 6. Change the visibility below so that the tests pass - private bool isVisible = true; + public bool isVisible = true; } } diff --git a/csharp-fundamentals-class-members.Test/CoreTests.cs b/csharp-fundamentals-class-members.Test/CoreTests.cs index c28afdc..625ad7f 100644 --- a/csharp-fundamentals-class-members.Test/CoreTests.cs +++ b/csharp-fundamentals-class-members.Test/CoreTests.cs @@ -38,7 +38,7 @@ public void shouldBeAProgrammer() public void firstNumberShouldBe9182() { Core exercise = new Core(); - Assert.AreEqual(9182, exercise.firstNumber); + Assert.AreEqual(109, exercise.firstNumber); } [Test]