Skip to content

Instantly share code, notes, and snippets.

@TheSecretSquad
TheSecretSquad / BowlingTest.cs
Created May 2, 2014 23:42
Bowling Score Calculator Kata from Daedtech.com Alternative Design Question - http://www.daedtech.com/tdd-for-breaking-problems-apart-3-finishing-up
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ScratchPadTest
{
[TestClass]
public class BowlingTest
{
@TheSecretSquad
TheSecretSquad / BowlingScoreCalculator.cs
Created May 2, 2014 23:40
Bowling Score Calculator Kata from Daedtech.com Alternative Design Question - http://www.daedtech.com/tdd-for-breaking-problems-apart-3-finishing-up
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ScratchPadTest
{
public class BowlingScoreCalculator
{
private Frames _frames = new Frames();
@TheSecretSquad
TheSecretSquad / Frames.cs
Created May 2, 2014 23:39
Bowling Score Calculator Kata from Daedtech.com Alternative Design Question - http://www.daedtech.com/tdd-for-breaking-problems-apart-3-finishing-up
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ScratchPadTest
{
public class Frames
{
private readonly Frame[] _frames = new Frame[10];
@TheSecretSquad
TheSecretSquad / Frame.cs
Last active August 29, 2015 14:00
Bowling Score Calculator Kata from Daedtech.com Alternative Design Question - http://www.daedtech.com/tdd-for-breaking-problems-apart-3-finishing-up
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ScratchPadTest
{
public class Frame
{
public static Frame Strike { get { return new Frame(10, 0); } }