Skip to content

Instantly share code, notes, and snippets.

View svrist's full-sized avatar

Søren B. Vrist svrist

View GitHub Profile
@svrist
svrist / gist:2170235
Created March 23, 2012 12:26
Freeze false -> Func<bool>() == true?
[Test]
public void TestFxitureFreeze()
{
Fixture fixture = new Fixture();
fixture.Freeze(false);
var f = fixture.CreateAnonymous<Func<bool>>();
Assert.That(f(),Is.False); // fails
}
<xml>
<test attr="lalala">
mydata
</test>
</xml>