Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Commit

Permalink
timeout example
Browse files Browse the repository at this point in the history
  • Loading branch information
jpolitz committed Nov 11, 2022
1 parent c2800f2 commit 2bc9192
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions TestListExamples.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@
import org.junit.*;

public class TestListExamples {
@Test(timeout = 100)
public void testTimeout() {
while(true) {}
}
// Write your grading tests here!
}

0 comments on commit 2bc9192

Please sign in to comment.