Skip to content

tests: add more unit tests for getAllocatedMemoryUnits involving Cairo Program #386

Open
@tcoratger

Description

@tcoratger

Issue Description

After ensuring that the Program structure is properly handled by our Cairo runner, we will have to enhance the test coverage for the getAllocatedMemoryUnits method within the BuiltinRunner union(enum).

To achieve this, we need to add more unit tests covering various scenarios and edge cases. These tests will validate the behavior of the getAllocatedMemoryUnits method under different conditions, ensuring robustness and reliability.

The relevant code section for the getAllocatedMemoryUnits method can be found here:

https://github.com/lambdaclass/cairo-vm/blob/4ea224a1068b43aaa3899d24e834475106e8a78f/vm/src/vm/runners/builtin_runner/mod.rs#L793-L971

Action Items

  • Add unit tests for getAllocatedMemoryUnits method in BuiltinRunner union(enum).
  • Ensure comprehensive coverage of different scenarios and edge cases.
  • Validate the behavior of the method under varying conditions.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions