1pub mod core;
2pub mod cli;
3pub mod analytics;
4pub mod yaml_generator;
5pub mod dataset_generator;
6
7pub use crate::core::program::LLMProgram;
8
9#[cfg(test)]
10mod tests {
11 use std::fs;
12
13 #[test]
14 fn test_sentiment_analysis_yaml_exists() {
15 assert!(fs::metadata("examples/sentiment_analysis.yaml").is_ok());
16 }
17
18 #[test]
19 fn test_code_generator_yaml_exists() {
20 assert!(fs::metadata("examples/code_generator.yaml").is_ok());
21 }
22
23 #[test]
24 fn test_email_generator_yaml_exists() {
25 assert!(fs::metadata("examples/email_generator.yaml").is_ok());
26 }
27
28 #[test]
29 fn test_sentiment_inputs_json_exists() {
30 assert!(fs::metadata("examples/sentiment_inputs.json").is_ok());
31 }
32
33 #[test]
34 fn test_sentiment_batch_inputs_json_exists() {
35 assert!(fs::metadata("examples/sentiment_batch_inputs.json").is_ok());
36 }
37
38 #[test]
39 fn test_code_inputs_json_exists() {
40 assert!(fs::metadata("examples/code_inputs.json").is_ok());
41 }
42
43 #[test]
44 fn test_email_inputs_json_exists() {
45 assert!(fs::metadata("examples/email_inputs.json").is_ok());
46 }
47
48 #[test]
49 fn test_examples_readme_exists() {
50 assert!(fs::metadata("examples/README.md").is_ok());
51 }
52}