1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-26 15:00:04 +08:00
SpaceVim/test/api/data/number.vader

5 lines
171 B
Plaintext
Raw Normal View History

Execute ( SpaceVim api: data#number ):
let number = SpaceVim#api#import('data#number')
let random = number.random(5, 10)
AssertEqual random <= 14 && random >= 5, 1