Last active
January 16, 2023 20:24
-
-
Save JayBazuzi/41df68fce6c224891471705ef8d1091b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NUnit.Framework; | |
public class Hiker | |
{ | |
[TestFixture] | |
public class Tests | |
{ | |
[Test] | |
public void life_the_universe_and_everything() | |
{ | |
Assert.AreEqual(42, Hiker.Answer()); | |
} | |
} | |
public static int Answer() | |
{ | |
return 6 * 9; | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public partial class Hiker | |
{ | |
public static int Answer() | |
{ | |
return 6 * 9; | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using NUnit.Framework; | |
public partial class Hiker | |
{ | |
[TestFixture] | |
public class Tests | |
{ | |
[Test] | |
public void life_the_universe_and_everything() | |
{ | |
Assert.AreEqual(42, Hiker.Answer()); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment