Skip to content

Commit 87aa227

Browse files
committed
chore(01/2025): remove commented tests
1 parent 4583551 commit 87aa227

File tree

1 file changed

+0
-87
lines changed

1 file changed

+0
-87
lines changed

src/solutions/year2025/day01.rs

Lines changed: 0 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -309,91 +309,4 @@ L82"#;
309309
dial = dial.rotate(Rotation::left(27)); // 73
310310
assert_eq!(17, dial.points_to_zero());
311311
}
312-
313-
// #[test]
314-
// fn my_input_tests() {
315-
// let mut dial = SafeDial::with(90);
316-
// dial = dial.rotate(Rotation::left(636));
317-
// // 1 -100:90, 536
318-
// // 2 -100:90, 436
319-
// // 3 -100:90, 336
320-
// // 4 -100:90, 236
321-
// // 5 -100:90, 136
322-
// // 6 -100:90, 36
323-
// // 6 -36:54
324-
//
325-
// assert_eq!(6, dial.points_to_zero());
326-
//
327-
// dial = dial.rotate(Rotation::left(654));
328-
// assert_eq!(12, dial.points_to_zero());
329-
// }
330-
//
331-
// #[test]
332-
// fn zero_clicks_test() {
333-
// let mut dial = SafeDial::new();
334-
//
335-
// dial = dial.rotate(Rotation::right(50)); // 0
336-
// assert_eq!(1, dial.points_to_zero());
337-
//
338-
// dial = dial.rotate(Rotation::right(200)); // 0
339-
// assert_eq!(3, dial.points_to_zero());
340-
//
341-
// dial = dial.rotate(Rotation::right(1)); // 1
342-
// assert_eq!(3, dial.points_to_zero());
343-
//
344-
// dial = dial.rotate(Rotation::right(299)); // 0
345-
// assert_eq!(6, dial.points_to_zero());
346-
//
347-
// dial = dial.rotate(Rotation::left(300)); // 0
348-
// assert_eq!(9, dial.points_to_zero());
349-
//
350-
// dial = dial.rotate(Rotation::left(301)); // 99
351-
// assert_eq!(12, dial.points_to_zero());
352-
//
353-
// dial = dial.rotate(Rotation::right(2)); // 1
354-
// assert_eq!(13, dial.points_to_zero());
355-
//
356-
// dial = dial.rotate(Rotation::left(202)); // 99
357-
// assert_eq!(16, dial.points_to_zero());
358-
//
359-
// dial = dial.rotate(Rotation::left(98)); // 1
360-
// assert_eq!(16, dial.points_to_zero());
361-
//
362-
// dial = dial.rotate(Rotation::right(199)); // 0
363-
// assert_eq!(18, dial.points_to_zero());
364-
//
365-
// dial = dial.rotate(Rotation::right(1)); // 1
366-
// assert_eq!(18, dial.points_to_zero());
367-
//
368-
// dial = dial.rotate(Rotation::left(102)); // 99
369-
// assert_eq!(20, dial.points_to_zero());
370-
// }
371-
//
372-
// #[test]
373-
// fn zero_clicks_1000_test() {
374-
// let initial_dial = SafeDial::new();
375-
//
376-
// let dial = initial_dial.rotate(Rotation::right(1000)); // 50
377-
// assert_eq!(10, dial.points_to_zero());
378-
//
379-
// let dial = initial_dial.rotate(Rotation::right(1050)); // 0
380-
// assert_eq!(11, dial.points_to_zero());
381-
//
382-
// let dial = initial_dial.rotate(Rotation::left(1000)); // 50
383-
// assert_eq!(10, dial.points_to_zero());
384-
//
385-
// // 1 -100:50 950
386-
// // 2 -100:50 850
387-
// // 3 -100:50 750
388-
// // 4 -100:50 650
389-
// // 5 -100:50 550
390-
// // 6 -100:50 450
391-
// // 7 -100:50 350
392-
// // 8 -100:50 250
393-
// // 9 -100:50 150
394-
// // 10 -100:50 50
395-
// // 11 -50:50 0
396-
// let dial = initial_dial.rotate(Rotation::left(1050)); // 0
397-
// assert_eq!(11, dial.points_to_zero());
398-
// }
399312
}

0 commit comments

Comments
 (0)