All Projects β†’ deinacademy β†’ tdd_roman_csharp

deinacademy / tdd_roman_csharp

Licence: GPL-3.0 license
Kata: TDD Arabic to Roman Numerals with C#

Programming Languages

C#
18002 projects
Batchfile
5799 projects
shell
77523 projects

Projects that are alternatives of or similar to tdd roman csharp

Transport Eta
Twitch streamed πŸŽ₯playground repo, README speaks to you.
Stars: ✭ 223 (+1492.86%)
Mutual labels:  unit-testing, tdd
doctest
The fastest feature-rich C++11/14/17/20 single-header testing framework
Stars: ✭ 4,434 (+31571.43%)
Mutual labels:  unit-testing, tdd
Quiz App
A repository reflecting the progress made on the "How to Build iOS Apps with Swift, TDD & Clean Architecture" YouTube series, by Caio & Mike.
Stars: ✭ 230 (+1542.86%)
Mutual labels:  unit-testing, tdd
Abot
Cross Platform C# web crawler framework built for speed and flexibility. Please star this project! +1.
Stars: ✭ 1,961 (+13907.14%)
Mutual labels:  unit-testing, netcore
book-fullstack-react-with-typescript
Working through the code samples from Fullstack React with Typescript by Maksim Ivanov and Alex Bespoyasov
Stars: ✭ 52 (+271.43%)
Mutual labels:  unit-testing, tdd
Fast Check
Property based testing framework for JavaScript (like QuickCheck) written in TypeScript
Stars: ✭ 2,604 (+18500%)
Mutual labels:  unit-testing, tdd
chai-exclude
Exclude keys to compare from a deep equal operation with chai expect or assert.
Stars: ✭ 33 (+135.71%)
Mutual labels:  unit-testing, tdd
Enzyme Matchers
Jasmine/Jest assertions for enzyme
Stars: ✭ 881 (+6192.86%)
Mutual labels:  unit-testing, tdd
Meadow
Integrated Ethereum implementation and tool suite focused on Solidity testing and development.
Stars: ✭ 126 (+800%)
Mutual labels:  unit-testing, netcore
kata
TDD, Refactoring kata in many languages
Stars: ✭ 14 (+0%)
Mutual labels:  kata, tdd
Js Unit Testing Guide
πŸ“™ A guide to unit testing in Javascript
Stars: ✭ 1,346 (+9514.29%)
Mutual labels:  unit-testing, tdd
oletus
Minimal ECMAScript Module test runner
Stars: ✭ 43 (+207.14%)
Mutual labels:  unit-testing, tdd
Autoparams
Arbitrary test data generator for parameterized tests in Java inspired by AutoFixture.
Stars: ✭ 77 (+450%)
Mutual labels:  unit-testing, tdd
Fluentassertions
A very extensive set of extension methods that allow you to more naturally specify the expected outcome of a TDD or BDD-style unit tests. Targets .NET Framework 4.7, .NET Core 2.1 and 3.0, as well as .NET Standard 2.0 and 2.1. Supports the unit test frameworks MSTest2, NUnit3, XUnit2, MSpec, and NSpec3.
Stars: ✭ 2,449 (+17392.86%)
Mutual labels:  unit-testing, tdd
Sinon
Test spies, stubs and mocks for JavaScript.
Stars: ✭ 8,828 (+62957.14%)
Mutual labels:  unit-testing, tdd
Alsatian
TypeScript testing framework with test cases
Stars: ✭ 244 (+1642.86%)
Mutual labels:  unit-testing, tdd
Jasmine Matchers
Write Beautiful Specs with Custom Matchers for Jest and Jasmine
Stars: ✭ 552 (+3842.86%)
Mutual labels:  unit-testing, tdd
Quixote
CSS unit and integration testing
Stars: ✭ 788 (+5528.57%)
Mutual labels:  unit-testing, tdd
utest
Lightweight unit testing framework for C/C++ projects. Suitable for embedded devices.
Stars: ✭ 18 (+28.57%)
Mutual labels:  unit-testing, tdd
FluentAssertions.Web
FluentAssertions for HTTP APIs
Stars: ✭ 71 (+407.14%)
Mutual labels:  unit-testing, netcore

Kata: TDD Arabic to Roman Numbers with C#

SonarCloud SonarCloud

Project

Create a solution with a class and test project

dotnet new classlib -n Number
cd Number
dotnet restore
cd ..

dotnet new xunit -n Number.Tests
cd Number.Tests
dotnet add reference ../Number/Number.csproj
dotnet add package Moq
dotnet add package coverlet.msbuild
dotnet restore
cd ..

dotnet new sln -n Number
dotnet sln Number.sln add ./Number/Number.csproj
dotnet sln Number.sln add ./Number.Tests/Number.Tests.csproj

Requirements

Roman Numbers

Basic Symbols

1 5 10 50 100 500 1000
I V X L C D M

Basic Combinations

1 2 3 4 5 6 7 8 9
I II III IV V VI VII VIII IX
10 20 30 40 50 60 70 80 90
X XX XXX XL L LX LXX LXXX XC
100 200 300 400 500 600 700 800 900
C CC CCC CD D DC DCC DCCC CM

How Convert

To convert Roman Numerals we need to split it up into place values (ones, tens, hundreds, etc.). Example 999

Place Value Number Roman Numeral
Hundreds 900 CM
Tens 90 XC
Ones 9 IX

You then combine them all together (starting from the top) to get CMXCIX.

Place Value

Expression Place Europe
1 ones
10 tens
100 hundreds
1,000 thousands
10,000 ten thousands
1,000,000 hundreds thousands
1,000,000 millions
10,000,000 ten millions
100,000,000 hundred millions
1,000,000,000 billions milliards
1,000,000,000,000 trillions billions
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].