From 70f4d0b14f7a53bd3dbfec631f02315c7794ee10 Mon Sep 17 00:00:00 2001 From: Pedro Santos Date: Mon, 15 Jan 2024 16:06:01 +0100 Subject: [PATCH] feat: Improve Character Copier README --- 14_CharacterCopier/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/14_CharacterCopier/README.md b/14_CharacterCopier/README.md index 27f6a8b..ad22078 100644 --- a/14_CharacterCopier/README.md +++ b/14_CharacterCopier/README.md @@ -4,9 +4,15 @@ The character copier is a simple class that reads characters from a source and copies them to a destination one character at a time. -When the method Copy is called on the character copier then it should read characters from the source and copy them to the destination until the source returns a newline (\n). +When the method Copy is called on the copier then it should read characters from the source and copy them to the destination until the source returns a newline (\n). The exercise is to implement the character copier using Test Doubles for the source and the destination Try using Spies – manually written Mocks – and Mocks written with a mocking framework. -Start from these definitions provided in kata.cs. +Start from these definitions provided in kata.ts. + +| **GetChar** | **SetChar** | +| ----------- | ----------- | +| 'a' | 'a' | +| 'b' | 'b' | +| '\n' | NA |