extern crate rsproperties;
use rsproperties::{PROP_DIRNAME, PROP_VALUE_MAX};
mod common;
use common::init_test;
#[test]
fn test_constants() {
assert_eq!(PROP_VALUE_MAX, 92);
assert_eq!(PROP_DIRNAME, "/dev/__properties__");
println!("Constants test passed");
}
#[test]
fn test_basic_functionality() {
init_test();
let result = rsproperties::get_or("test.nonexistent", "default".to_string());
assert_eq!(result, "default");
println!("Basic functionality test passed");
}