dylanmc / cs393_vm_api

Virtual memory abstraction & methods for constructing, accessing, manipulating and destroying address spaces
4 stars 28 forks source link

added test for add_map #2

Closed cadencorontzos closed 1 year ago

cadencorontzos commented 1 year ago

attempted to write what a test should look like when add_map is implemented. Got cargo to build

dylanmc commented 1 year ago

Could you fix the clippy issue:

assert_eq!(addr_space.mappings.front().offset , offset);

the space before the comma isn't clippy-conformant. :-D

cadencorontzos commented 1 year ago

@dylanmc Fixed!