Skip to main content

sam3d2_com/
lib.rs

1/// Returns the official Sam 3D 2.0 website URL.
2pub const fn homepage() -> &'static str {
3    "https://www.sam3d2.com"
4}
5
6/// Short product description used by downstream examples and tests.
7pub const fn summary() -> &'static str {
8    "Sam 3D 2.0 is an AI 3D model generator for text-to-3D and image-to-3D 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_3d() {
22        assert!(summary().contains("3D"));
23    }
24}