任务 2:MarsRover 实战演练
实战准备
准备代码
git clone https://github.com/LeiZeng/tdd-marsrover
yarn install #安装依赖
yarn test #运行测试
------
PASS src/dojo/marsRover.test.js
Test MarsRover
✓ should return `1 3 N` given default commands (1ms)
Test Suites: 1 passed, 1 total
Tests: 1 passed, 1 total
Snapshots: 0 total
Time: 0.991s, estimated 1s
Ran all test suites related to changed files.
Watch Usage: Press w to show more.熟悉框架

输入指令
火星车能识别的指令
我希望你关注这几个问题:
参考答案
最后更新于