equinor / equinor/tdd_workshop
Exercise 1: Convert input from str -> float
Open
- Dominant language
- Python
- Stars
- 2
- Forks
- 62
- PR merge metrics
- No merged PRs in 30d
Description
In: https://github.com/equinor/tdd_workshop/blob/fcda46100696213403c78bf576433705f8613fea/src/tdd_workshop/io.py#L9 we are reading a file and turning it into a list of coordinates. However that function returns a list of tuples of strings. As we are doing calculations on the results, we would like it to return float values instead of strings.
1) Run the test
2) Modify the tests to be red, and confirm that you get the desired result by running the tests
3) Refactor the code until you are back to green.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.