1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:10:05 +08:00
SpaceVim/test/api/data/number.vader
Wang Shidong 464e9d5957
Add test for api (#1849)
* Add test for toml api

* Add test for number api

* Add test for file api

* Add test for vim#highlight api

* Add test for icon api
2018-06-20 20:44:08 +08:00

5 lines
171 B
Plaintext

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