Expand description
§test_crate
A simple crate that provides functionality for calculating the area, volume, and perimeter of a rectangle.
Functions§
- area
- Calculates the area of a rectangle given its length and width.
- get_
data - Calculates the area, volume, and perimeter of a rectangle given its length, width, and height.
- perimeter
- Calculates the perimeter of a rectangle given its length and width.
- volume
- Calculates the volume of a rectangular prism given its length, width, and height.