You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
extern crate embedded_hal_mock as hal;
|
|
extern crate ds323x;
|
|
use ds323x::Ds323x;
|
|
|
|
#[test]
|
|
fn can_create_and_destroy() {
|
|
let dev = Ds323x::new_ds3231(hal::i2c::Mock::new(&[]));
|
|
let mut i2c = dev.destroy_ds3231();
|
|
i2c.done();
|
|
}
|