You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
2.4 KiB

//
// Stub.swift
// CalculMoy
//
// Created by etudiant on 11/06/2023.
//
import Foundation
struct Stub{
static let uesData:[UE] = [
UE(
id: UUID(),
ueName: "UE - 1",
coef: 9,
modules: [
Module(id: UUID(), moduleName: "Module - 1", coef: 2, note: 4),
Module(id: UUID(), moduleName: "Module - 2", coef: 3, note: 14),
Module(id: UUID(), moduleName: "Module - 3", coef: 5, note: 10),
Module(id: UUID(), moduleName: "Module - 4", coef: 2, note: 9),
]
),
UE(
id: UUID(),
ueName: "UE - 2",
coef: 9,
modules: [
Module(id: UUID(), moduleName: "Module - 1", coef: 2, note: 4),
Module(id: UUID(), moduleName: "Module - 2", coef: 3, note: 14),
Module(id: UUID(), moduleName: "Module - 3", coef: 5, note: 10),
Module(id: UUID(), moduleName: "Module - 4", coef: 2, note: 9),
]
),
UE(
id: UUID(),
ueName: "UE - 3",
coef: 9,
modules: [
Module(id: UUID(), moduleName: "Module - 1", coef: 2, note: 4),
Module(id: UUID(), moduleName: "Module - 2", coef: 3, note: 14),
Module(id: UUID(), moduleName: "Module - 3", coef: 5, note: 10),
Module(id: UUID(), moduleName: "Module - 4", coef: 2, note: 9),
]
),
UE(
id: UUID(),
ueName: "UE - 4",
coef: 9,
modules: [
Module(id: UUID(), moduleName: "Module - 1", coef: 2, note: 4),
Module(id: UUID(), moduleName: "Module - 2", coef: 3, note: 14),
Module(id: UUID(), moduleName: "Module - 3", coef: 5, note: 15),
Module(id: UUID(), moduleName: "Module - 4", coef: 2, note: 9),
]
),
UE(
id: UUID(),
ueName: "UE - 5",
coef: 9,
modules: [
Module(id: UUID(), moduleName: "Module - 1", coef: 2, note: 4),
Module(id: UUID(), moduleName: "Module - 2", coef: 3, note: 14),
Module(id: UUID(), moduleName: "Module - 3", coef: 5, note: 10),
Module(id: UUID(), moduleName: "Module - 4", coef: 2, note: 9),
]
),
]
}