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; | |
uisng System.Collections.Generic; | |
using System.Linq; | |
uisng System.Text; | |
using System.Threading.Tasks; | |
namespace ThirtyDaysOfTDD.UnitTests | |
{ | |
[TestFixture] | |
public class StringUtilsTest |
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.Linq; | |
using NUnit.Framework; | |
namespace ThirtyDaysOfTDD.UnitTests | |
{ | |
[TestFixture] | |
public class StringUtilsTest | |
{ | |
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.Linq; | |
using NUnit.Framework; | |
namespace ThirtyDaysOfTDD.UnitTests | |
{ | |
[TestFixture] | |
public class StringUtilsTest | |
{ | |
public void ShouldBeAbleToCountNumberOfLettersInSimpleSentence() |
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.Linq; | |
using NUnit.Framework; | |
namespace ThirtyDaysOfTDD.UnitTests | |
{ | |
[TestFixture] | |
public class StringUtilsTest | |
{ | |
[Test] |
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
namespace ThirtyDaysOfTDD.UnitTests | |
{ | |
public class StringUtils | |
{ | |
} | |
} |
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 ThirtyDaysOfTDD.UnitTests | |
{ | |
public class StringUtils | |
{ | |
public object FindNumberOfOccurences(string sentenceToScan, string characterToScanFor) | |
{ | |
// TODO: Implement this method | |
throw new NotImplementedException(); |
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.Linq; | |
using NUnit.Framework; | |
namespace ThirtyDaysOfTDD.UnitTests | |
{ | |
[TestFixture] | |
public class StringUtilsTest | |
{ | |
[Test] |
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 ThirtyDaysOfTDD.UnitTests | |
{ | |
public class StringUtils | |
{ | |
public int FindNumberOfOccurences(string sentenceToScan, string characterToScanFor) | |
{ | |
return 2; | |
} |
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.Linq; | |
using NUnit.Framework; | |
namespace ThirtyDaysOfTDD.UnitTests | |
{ | |
[TestFixture] | |
public class StringUtilsTest | |
{ | |
[Test] |
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 ThirtyDaysOfTDD.UnitTests | |
{ | |
public class StringUtils | |
{ | |
public int FindNumberOfOccurences(string sentenceToScan, string characterToScanFor) | |
{ | |
var stringToCheckAsCharacterArray = sentenceToScan.ToCharArray(); | |
var characterToCheckFor = Char.Parse(characterToScanFor); |
OlderNewer