rearranged order of expected output in build.zig

This commit is contained in:
Alexander Sisco 2025-02-04 09:06:23 -08:00
parent 657fd6aff0
commit 0fa86eb8c8

View file

@ -1209,6 +1209,16 @@ const exercises = [_]Exercise{
,
},
.{ .main_file = "110_bit_manipulation3.zig", .output =
\\Toggle pins with XOR on PORTB
\\-----------------------------
\\ 1100 // (initial state of PORTB)
\\^ 0101 // (bitmask)
\\= 1001
\\
\\ 1100 // (initial state of PORTB)
\\^ 0011 // (bitmask)
\\= 1111
\\
\\Set pins with OR on PORTB
\\-------------------------
\\ 1001 // (initial state of PORTB)
@ -1228,17 +1238,6 @@ const exercises = [_]Exercise{
\\ 0111 // (reset state)
\\& 1110 // (bitmask)
\\= 0110
\\
\\
\\Toggle pins with XOR on PORTB
\\-----------------------------
\\ 1100 // (initial state of PORTB)
\\^ 0101 // (bitmask)
\\= 1001
\\
\\ 1100 // (initial state of PORTB)
\\^ 0011 // (bitmask)
\\= 1111
},
.{
.main_file = "999_the_end.zig",