Skip to content

Commit

Permalink
7/7
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfa1508 committed Aug 13, 2024
1 parent 49b9302 commit be75ecc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions csharp-fundamentals-class-members.Main/Core.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
}
}
2 changes: 1 addition & 1 deletion csharp-fundamentals-class-members.Test/CoreTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit be75ecc

Please sign in to comment.