Skip to content

Instantly share code, notes, and snippets.

Flipping switches

Kalle Wallin iHaveBecomeDeath

Flipping switches
Block or report user

Report or block iHaveBecomeDeath

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
iHaveBecomeDeath / AssertionExtensions.cs
Created Sep 13, 2016
NUnit assertion extensions, write test code from left to right
View AssertionExtensions.cs
// Some simple extensions I lug around to semantically simplify my test writing
// instead of saying "assert that this and that are equal, using some formula"
// you can say (1 == 1).ShouldBeTrue(), or 1.ShouldEqual(1);
// Some methods return the object in question, so you can chain assertions.
// Using System
// Using NUnit.Framework
public static class AssertionExtensions

Keybase proof

I hereby claim:

  • I am ihavebecomedeath on github.
  • I am silverskin ( on keybase.
  • I have a public key whose fingerprint is 51F7 5F9E 3A7C C757 2C6E E8FD F17E C047 A387 79E9

To claim this, I am signing this object:

You can’t perform that action at this time.