View nunit.failing.cs
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 System; | |
using NUnit.Framework; | |
namespace Tests | |
{ | |
[TestFixture] | |
public class Test | |
{ | |
public class Temp | |
{ |
View GoLTests.cs
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
[Test] | |
public void Test_Barge() | |
{ | |
var initialGrid = new char[,] | |
{ | |
{'.', '.', '.', '.', '.', '.'}, | |
{'.', '.', '*', '.', '.', '.'}, | |
{'.', '*', '.', '*', '.', '.'}, | |
{'.', '.', '*', '.', '*', '.'}, | |
{'.', '.', '.', '*', '.', '.'}, |
View Item JSON
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
{ | |
item: { | |
id: "2950a2d262a34ffcae82a2d0015af091", | |
title: "title1", | |
creator: "creator1", | |
edition: "edition1" | |
} | |
} |
View NHibernateUserAuthRepository.cs
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 System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Text.RegularExpressions; | |
using System.Globalization; | |
using ServiceStack.ServiceInterface.Auth; | |
using ServiceStack.Common; | |
using NHibernate; |
View MyClass.cs
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 System; | |
namespace ClassLibrary | |
{ | |
public interface IDependency | |
{ | |
void SomeMethod(string s); | |
} | |
public class MyClass |
View MyClass.cs
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 class MyClass | |
{ | |
private readonly IDependency dependency; | |
private readonly Func<IUnitOfWork> StartNewUnitOfWork; | |
public MyClass(Func<IUnitOfWork> unitOfWorkProvider), | |
IDependency dependency, | |
{ | |
this.dependency= dependency; | |
this.StartNewUnitOfWork = unitOfWorkProvider; |
View MyClass.cs
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 System; | |
namespace ClassLibrary | |
{ | |
public interface IDependency | |
{ | |
void SomeMethod(); | |
} | |
public class MyClass |