Skip to content

GitLab

  • Menu
    • Projects Groups Snippets
      Help
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • P project05
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • cs2-23wi
  • project05
  • Merge requests
  • !2

An error occurred while fetching the assigned milestone of the selected merge_request.
Merged
Created 2 years ago by Adam Blank@blankOwner

updated hint to excessive allocation test for 'get'

  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1
  • Adam Blank @blank merged 2 years ago

    merged

  • Adam Blank @blank mentioned in commit 4525f578 2 years ago

    mentioned in commit 4525f578

  • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
Please register or sign in to reply
Compare
  • master (base)

and
  • latest version
    847a2b7d
    1 commit, 2 years ago

1 file
+ 1
- 0

    Preferences

    File browser
    Compare changes
tests/edu/caltech/cs2/datastructures/MoveToFrontDictionaryTests.java
+ 1
- 0
  • View file @ 847a2b7d

  • Edit in single-file editor

  • Edit in Web IDE


Show all unchanged lines Show 20 lines
@DisplayName("Check for excessive node allocation in get")
@TestDescription("This test checks that no extra nodes are allocated in the get() method")
@DependsOn({"put", "get"})
@TestHint("get should not be affecting the dictionary in any way; it should simply find and return a value.")
@Test
public void testForExcessiveNodeAllocationGet() {
NewNode.MoveToFrontDictionary_NUM_CALLS = 0;
Show 20 lines Show all unchanged lines
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Milestone
No milestone
None
None
Time tracking
No estimate or time spent
Labels
0
None
0
None
    Assign labels
  • Manage project labels

Lock merge request
Unlocked
0
0 participants
Reference:
Source branch: test_update

Menu

Projects Groups Snippets
Help