Skip to content

Instantly share code, notes, and snippets.

@trikitrok
Created March 22, 2025 11:17
Show Gist options
  • Save trikitrok/09f2b61d5c75929679d5536cd5dc055e to your computer and use it in GitHub Desktop.
Save trikitrok/09f2b61d5c75929679d5536cd5dc055e to your computer and use it in GitHub Desktop.
Used to illustrate finding test points
export class Element {
private readonly name: string;
private text: string;
constructor(name: string) {
this.name = name;
this.text = "";
}
addText(newText: string): void {
this.text += newText;
}
getName(): string {
return this.name;
}
getText(): string {
return this.text;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment