Add test for array:sample()

This commit is contained in:
Bruce Hill 2024-04-02 23:41:26 -04:00
parent 6eb680f1b7
commit bec67efb11

View File

@ -92,3 +92,5 @@ if yes
>> nums:sort(func(x:&%Int,y:&%Int) y[] <> x[])
>> nums
= [30, 10, -20]
>> ["A", "B", "C"]:sample(10, [1.0, 0.5, 0.0])