Wallapop后端技术测试
你好候选人!
欢迎使用Wallapop及其后端技术测试
火星漫游者重构kata
我们需要改进现有的解决方案,以将地球发送的命令转换为火星漫游者可以理解的指令
目前,代码非常复杂且纠结,因此我们希望您花一些时间来清理它
功能要求
Given:
- a two dimensional map of Mars
- the initial starting point and direction of the Rover
When:
- a command is
火星车
项目设置
npm install
编译和热重装以进行开发
npm run serve
编译并最小化生产
npm run build
运行单元测试
npm run test:unit
整理和修复文件
npm run lint
自定义配置
It´s needed a program to validate instructions that will be used by a new Rover in Mars. Each Rover are included in a square and