Add unit test for log resource

This commit is contained in:
Adrien Ufferte
2026-01-29 14:54:46 +01:00
parent 8aece8342d
commit 17e9b5572a
3 changed files with 28 additions and 1 deletions
@@ -1,7 +1,7 @@
class_name LogResource
extends Resource
@export var logs: Dictionary = {} # int: Dictionary {String: Dictionary}
@export var logs: Dictionary[int, Dictionary] = {} # First key is lesson number, second key is time
func add_log(lesson_nb: int, new_log: Dictionary, time: String) -> void: