Dhanus3133 / Leetbuddy.nvim

Solve Leetcode problems within Neovim 🔥
MIT License
139 stars 15 forks source link

input.txt shows only one test case #22

Closed 3seoksw closed 1 year ago

3seoksw commented 1 year ago

Everything works fine except for the input.txt. It only shows one test case and runs one test with the one that is in the input.txt.

Is there something I've missed setting up? BTW, thanks a lot for such a plugin.

Screenshot 2023-08-14 at 8 22 21 PM

Pass

Screenshot 2023-08-14 at 8 25 45 PM

Fail

Dhanus3133 commented 1 year ago

You can add multiple test cases continuously in your inputs.txt like for example if you need to add 2nd test case, it looks like this

[2,7,11,15]
9
[3,2,4]
6

Now, when running :LBTest it runs the two test cases. To submit the code use LBSubmit.

3seoksw commented 1 year ago

Oh, so for the multiple test cases, I need to add them manually? I thought the test cases from the question were to be added to input.txt automatically 😂 Thanks for the help and for the great work 👍🏼