commit a2f3cc165334a4839c4d8435651eb2ee11485d30
parent 35d35403d21aa379f954f073e653b0e5564af9df
Author: dracuxan <[email protected]>
Date: Thu, 4 Jun 2026 16:46:20 +0530
test
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/exercises/17_tests/tests3.rs b/exercises/17_tests/tests3.rs
@@ -29,8 +29,8 @@ mod tests {
// TODO: This test should check if the rectangle has the size that we
// pass to its constructor.
let rect = Rectangle::new(10, 20);
- assert_eq!(todo!(), 10); // Check width
- assert_eq!(todo!(), 20); // Check height
+ assert_eq!(rect.width, 10); // Check width
+ assert_eq!(rect.height, 20); // Check height
}
// TODO: This test should check if the program panics when we try to create