1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Data files / constants for tests
use crateTestResult;
use Engine;
use general_purpose;
use SPath;
use File;
use Read;
pub const IMAGE_URL_JPG_DUCK: &str = "https://aipack.ai/images/test-duck.jpg";
pub const AUDIO_TEST_FILE_PATH: &str = "./tests/data/phrase_neil_armstrong.wav";
pub const TEST_IMAGE_FILE_PATH: &str = "./tests/data/duck-small.jpg";
/// Get the base64 of the image above (but resized/lower to fit 5kb)