From 796fd3bd69ad127109bfd30d2bb7231c41e2fe6d Mon Sep 17 00:00:00 2001 From: Snigdha Saha <snigdhas2572@gmail.com> Date: Wed, 1 Mar 2023 13:01:36 -0800 Subject: [PATCH] allocation classes --- tests/edu/caltech/cs2/helpers/NewMe.java | 5 +++++ tests/edu/caltech/cs2/helpers/NewNode.java | 8 ++++++++ tests/edu/caltech/cs2/helpers/NewObjectArray.java | 5 +++++ 3 files changed, 18 insertions(+) create mode 100644 tests/edu/caltech/cs2/helpers/NewMe.java create mode 100644 tests/edu/caltech/cs2/helpers/NewNode.java create mode 100644 tests/edu/caltech/cs2/helpers/NewObjectArray.java diff --git a/tests/edu/caltech/cs2/helpers/NewMe.java b/tests/edu/caltech/cs2/helpers/NewMe.java new file mode 100644 index 0000000..9832b6c --- /dev/null +++ b/tests/edu/caltech/cs2/helpers/NewMe.java @@ -0,0 +1,5 @@ +package edu.caltech.cs2.helpers; + +public class NewMe { + public static int NUM_CALLS = 0; +} diff --git a/tests/edu/caltech/cs2/helpers/NewNode.java b/tests/edu/caltech/cs2/helpers/NewNode.java new file mode 100644 index 0000000..2ad5db3 --- /dev/null +++ b/tests/edu/caltech/cs2/helpers/NewNode.java @@ -0,0 +1,8 @@ +package edu.caltech.cs2.helpers; + +public class NewNode { + public static int LinkedDeque_NUM_CALLS; + public static int MoveToFrontDictionary_NUM_CALLS; + public static int BSTDictionary_NUM_CALLS; + public static int TrieMap_NUM_CALLS; +} diff --git a/tests/edu/caltech/cs2/helpers/NewObjectArray.java b/tests/edu/caltech/cs2/helpers/NewObjectArray.java new file mode 100644 index 0000000..0c5df16 --- /dev/null +++ b/tests/edu/caltech/cs2/helpers/NewObjectArray.java @@ -0,0 +1,5 @@ +package edu.caltech.cs2.helpers; + +public class NewObjectArray { + public static int NUM_CALLS = 0; +} -- GitLab