cse15l-lab-reports

Lab Report 4 Week 8

My markdown-parse repository: https://github.com/HuimengLu/CSE15L-Platypus
Repository I reviewed: https://github.com/ezhou413/markdown-parse

Test preview

I chose the CommonMark demo site to preview the snippets.

New tests

In MarkdownParseTest.java, I created new tests basing on the given snippets.
My repository:
2022-02-24 (8)

The repository I reviewed:
2022-02-25

Test results

My repository:
Test 1 and Test 2 passed. Test 3 failed.
2022-02-24 (4) 2022-02-24 (5)

The repository I reviewed:
Test 1 passed. Test 2 and Test 3 failed.
2022-02-25 (1) 2022-02-25 (2)

Answer the following questions with 2-3 sentences each:

(1) Do you think there is a small (<10 lines) code change that will make your program work for snippet 1 and all related cases that use inline code with backticks? If yes, describe the code change. If not, describe why it would be a more involved change.

Snippet 1 passed my test, so there’s no need to change the code in my program.

(2) Do you think there is a small (<10 lines) code change that will make your program work for snippet 2 and all related cases that nest parentheses, brackets, and escaped brackets? If yes, describe the code change. If not, describe why it would be a more involved change.

Snippet 2 passed my test, so there’s no need to change the code in my program.

(3) Do you think there is a small (<10 lines) code change that will make your program work for snippet 3 and all related cases that have newlines in brackets and parentheses? If yes, describe the code change. If not, describe why it would be a more involved change.

I think there is a small code change that can potentially make my program work. What I need to make sure is that right after 1 line break, it is not allowed to have another line break. (Meaning that empty lines between parentheses and brackets are not allowed.)

The allowed situation:

[this title text is really long and takes up more than 
one line](
    https://ucsd-cse15l-w22.github.io/
)