Skip to content

Instantly share code, notes, and snippets.

View fitzchak's full-sized avatar

Fitzchak Yitzchaki fitzchak

View GitHub Profile
@fitzchak
fitzchak / TestHelper.cs
Created June 25, 2012 09:07 — forked from haacked/TestHelper.cs
String Comparison Unit Test Helper
public static class StringTestHelpers
{
public static void ShouldEqualWithDiff(this string actualValue, string expectedValue)
{
ShouldEqualWithDiff(actualValue, expectedValue, DiffStyle.Full, Console.Out);
}
public static void ShouldEqualWithDiff(this string actualValue, string expectedValue, DiffStyle diffStyle)
{
ShouldEqualWithDiff(actualValue, expectedValue, diffStyle, Console.Out);
@fitzchak
fitzchak / LocalizableEntities.cs
Created October 10, 2012 08:05 — forked from jesuslpm/LocalizableEntities.cs
Proposed model for localizable entities
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Raven.Client.Document;
using Raven.Client.Embedded;
using Xunit;
using Raven.Json.Linq;
using System.Diagnostics;
using Raven.Client;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using Raven.Abstractions.Indexing;
using Raven.Client.Indexes;
using Xunit;
namespace Raven.Tests
{