Small comment and formatting changes
parent
6739b986ab
commit
f094c5de5a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue