Skip to content

HugoIracheta/CodeKata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CodeKata

CodeKata project for SafeAuto

Code Kata is a .NET Console Application that reads an input file and prints out the information. The solution includes unit tests that can be runned with dotnet test.

How to use

You can edit the inputFile.txt contained in the project and add more trips or more drivers, then you run the project and the output with the required information will appear in a Console window

Each line in the input file will start with a command. There are two possible commands. The first command is Driver, which will register a new Driver in the app. Example: Driver Dan The second command is Trip, which will record a trip attributed to a driver. The line is space delimited with the following fields: the command (Trip), driver name, start time, stop time, miles driven. Times are in the format of hours:minutes.

Release

You can just download the 1.0.0. release if you just want to use the project.

About

CodeKata project for SafeAuto

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages