Skip to content

kosik86/calc-dojo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CalcDojo

The purpose of this dojo is to practice writing recursion and string operations.

Someone once said:

eval() is Evil

Of course, eval() is not always evil, even if someone once said it. However, let's assume it is for us, at least while you're working on this project.

How this program should work

This is just a simple program - it just evaluates math formula.

What to do

There is one spec file with a list of all unit tests that need to pass. Most of them are disabled, only the first one is enabled. That is sufficient to make npm test fail.

To follow the best TDD practice you are not allowed to write more code that is needed to make tests passing. Normally, you're also not allowed to write more unit tests at once - that's why most of them are disabled. Please follow this TDD master rule and go one by one, never enable more than one test!

Also, feel free to create as many classes as you need. You shouldn't feel limited, just do whatever you can to make your code descriptive and pretty.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published