-
Notifications
You must be signed in to change notification settings - Fork 665
I could not find leetcode:test #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@karangoel16 Yes, actually I'm also thinking to add this. The problem is about the experience. My idea is:
What do you think? Please feel free to provide your ideas. 😄 |
I like the idea, but as leetcode-cli works, we can make it work for user given test case. |
@karangoel16 Yes, that's actually what I'm saying. User can write their own test cases into a file, and we upload this file. I guess we are in consensus, right? |
@karangoel16 Sorry, just take a look at the cli usage. Do you mean besides the user writen test case, also provide the default test case as well? |
leetcode test 378.kth-smallest-element-in-a-sorted-matrix.cpp -t '[[1,5,9],[10,11,13],[12,13,15]]\n8' user can paste this '[[1,5,9],[10,11,13],[12,13,15]]\n8' in command section and following would run like it runs with the normal leetcode test scenario. |
Make sense, this will be more straightforward for simpler cases. Thanks for the feedback, I'll implement this feature these days. |
New version released. Please try it out 🎉 |
If possible please add Test module in your plugin as well, this will be of real help.
The text was updated successfully, but these errors were encountered: