Small comment and formatting changes

main
2wenty1ne 2024-10-27 13:20:47 +01:00
parent 6739b986ab
commit f094c5de5a
1 changed files with 4 additions and 4 deletions

View File

@ -18,10 +18,10 @@ const testees:[]const []const u8 = &[_][] const u8 {
"Gruppe I", "Gruppe I",
"Gruppe J", "Gruppe J",
}; };
const number_of_testees: u64 = testees.len;
const number_of_testees: u64 = testees.len; // len von testees const total_minutes: u64 = 190;
const total_minutes: u64 = 190; // Gesamte Dauer in min const pause_minutes: u64 = 5;
const pause_minutes: u64 = 5; // Länge der Pause zwischen 2 Testaten
pub fn main () !void { pub fn main () !void {
@ -114,7 +114,7 @@ pub fn printPlan(ts: *Timestamp) !void {
} }
} }
// Check if a given array contains a given element //? Check if a given array contains a given element
pub fn arrayContains(arr: []u64, q: u64) bool { pub fn arrayContains(arr: []u64, q: u64) bool {
for (arr) |element| { for (arr) |element| {
if (element == q) { if (element == q) {