Commit 4525f578 authored by Adam Blank's avatar Adam Blank
Browse files

Merge branch 'test_update' into 'master'

updated hint to excessive allocation test for 'get'

See merge request cs2-23wi/project05!2
1 merge request!2updated hint to excessive allocation test for 'get'
Pipeline #77456 failed with stage
Showing with 1 addition and 0 deletions
+1 -0
...@@ -170,6 +170,7 @@ public class MoveToFrontDictionaryTests extends IDictionaryNGramTests { ...@@ -170,6 +170,7 @@ public class MoveToFrontDictionaryTests extends IDictionaryNGramTests {
@DisplayName("Check for excessive node allocation in get") @DisplayName("Check for excessive node allocation in get")
@TestDescription("This test checks that no extra nodes are allocated in the get() method") @TestDescription("This test checks that no extra nodes are allocated in the get() method")
@DependsOn({"put", "get"}) @DependsOn({"put", "get"})
@TestHint("get should not be affecting the dictionary in any way; it should simply find and return a value.")
@Test @Test
public void testForExcessiveNodeAllocationGet() { public void testForExcessiveNodeAllocationGet() {
NewNode.MoveToFrontDictionary_NUM_CALLS = 0; NewNode.MoveToFrontDictionary_NUM_CALLS = 0;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment