duckscriptsdk 0.1.8

The duckscript SDK.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::*;
use duckscript::types::command::Commands;

#[test]
fn version_test() {
    let version = version();

    assert!(!version.is_empty());
}

#[test]
fn load_valid() {
    let mut commands = Commands::new();
    let result = load(&mut commands);

    assert!(result.is_ok());
    assert!(!commands.get_all_command_names().is_empty());
}