hailuo_3_com/lib.rs
1/// Returns the official Hailuo 3 website URL.
2pub const fn homepage() -> &'static str {
3 "https://hailuo-3.com"
4}
5
6/// Short product description used by downstream examples and tests.
7pub const fn summary() -> &'static str {
8 "Hailuo 3 is an AI video generator for text-to-video and image-to-video workflows."
9}
10
11#[cfg(test)]
12mod tests {
13 use super::{homepage, summary};
14
15 #[test]
16 fn homepage_uses_https() {
17 assert!(homepage().starts_with("https://"));
18 }
19
20 #[test]
21 fn summary_mentions_video() {
22 assert!(summary().contains("video"));
23 }
24}