Created
February 8, 2026 22:36
-
-
Save trikitrok/6802f5d095de06bd6405d065553122c9 to your computer and use it in GitHub Desktop.
Used to illustrate finding test points
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class Element { | |
| private final String name; | |
| private String text; | |
| public Element(String name) { | |
| this.name = name; | |
| this.text = ""; | |
| } | |
| public void addText(String newText) { | |
| this.text += newText; | |
| } | |
| public String getName() { | |
| return this.name; | |
| } | |
| public String getText() { | |
| return this.text; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment