Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ltossian/test-ihoover
Solution to a tech interview in TypeScript, Node & Vitest.
https://github.com/ltossian/test-ihoover
Last synced: 27 days ago
JSON representation
Solution to a tech interview in TypeScript, Node & Vitest.
- Host: GitHub
- URL: https://github.com/ltossian/test-ihoover
- Owner: LTOssian
- Created: 2023-05-24T18:22:22.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-10-29T14:57:23.000Z (about 1 year ago)
- Last Synced: 2023-10-29T15:32:30.618Z (about 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# iHoover
Time : approximately 4 hours during a day.
## Goal
Build an application to input a room's dimensions, a vacuum cleaner's initial position and a list of instructions. We must know the final position of the vacuum cleaner.
## Installation
`git clone https://github.com/LTOssian/test-iHoover.git`
`npm i`
## Usage and testing
run tests : `npm test`
You can use the unit tests describing the Controller class in `Controller.test.ts` to see the application in action.
run the program : `npm start`
Start the program and enter your own credentials.
### For example :
- Room's dimensions : x=10 y=10
- Vacuum initial position : x=5 y=5 orientation=N
- Instructions : DADADADAA
## Technologies used :
- NodeJS
- TypeScript
- Vitest