#![doc = include_str!("../README.md")]
#[cfg(target_os = "android")]
pub mod android;
pub mod fake;
#[cfg(target_os = "macos")]
pub mod macos;
pub trait HingeAngle {
type Output;
fn angle(&self) -> Self::Output;
}
#[cfg(test)]
mod tests {
use super::*;
use crate::fake::Hinge;
#[test]
fn test_angle() {
let hinge = Hinge(42.0);
assert_eq!(hinge.angle(), 42.0);
}
}