We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 958a423 commit b62eb57Copy full SHA for b62eb57
README.md
@@ -103,7 +103,26 @@ No trick, it's all your showtime!
103
104
### 5. Test
105
106
-TBD
+Customize your testcase and run it against leetcode.
107
+
108
+ $ lc test ./two-sum.cpp -t '[3,2,4]\n7'
109
110
+ Input data:
111
+ [3,2,4]
112
+ 7
113
114
+ Your
115
+ ✔ runtime: 0 ms
116
+ ✘ answer: [1,2]
117
+ ✔ output:
118
119
+ Expected
120
121
+ ✔ answer: [0,2]
122
123
124
+* `-t` to provide test case in command line.
125
+* `-i` to provide test case in interactive mode.
126
127
### 6. Submit
128
0 commit comments