我制作了这个功能并且它有效,但我想知道如何做一个测试这个功能的功能(测试功能)
let color_choice(t : t_color t_array) : t_color = (get_value(t)).(Random.int(get_len(t) - 1)) ;;
如果可能,请举例说明步骤