Skip to content

Commit 6277c15

Browse files
committed
fix tests
1 parent 0dc2caa commit 6277c15

File tree

4 files changed

+5
-9
lines changed

4 files changed

+5
-9
lines changed

autd3/src/gain/cache.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ impl<G: Gain + 'static> Cache<G> {
7979
///
8080
/// ```
8181
/// use autd3::prelude::*;
82-
/// # use autd3_driver::derive::prelude::GainFilter;
8382
/// # use autd3_driver::datagram::Gain;
8483
/// # let geometry: Geometry = Geometry::new(vec![AUTD3::new(Vector3::zeros()).into_device(0)]);
8584
///

autd3/src/gain/group.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ where
4848
///
4949
/// ```
5050
/// # use autd3::prelude::*;
51-
/// # let gain : autd3::gain::Group<_, _, _> =
51+
/// # let gain : autd3::gain::Group<_, _> =
5252
/// Group::new(|dev, tr| match tr.idx() {
5353
/// 0..=100 => Some("null"),
5454
/// 101.. => Some("focus"),

autd3/src/prelude.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Created Date: 27/04/2022
55
* Author: Shun Suzuki
66
* -----
7-
* Last Modified: 26/12/2023
7+
* Last Modified: 16/01/2024
88
* Modified By: Shun Suzuki (suzuki@hapis.k.u-tokyo.ac.jp)
99
* -----
1010
* Copyright (c) 2022-2023 Shun Suzuki. All rights reserved.
@@ -30,8 +30,8 @@ pub use autd3_driver::{
3030
common::{Drive, EmitIntensity, Phase, SamplingConfiguration},
3131
datagram::{
3232
Clear, ConfigureDebugOutputIdx, ConfigureForceFan, ConfigureModDelay,
33-
ConfigureReadsFPGAInfo, ConfigureSilencer, DatagramT, FocusSTM, GainSTM, Modulation,
34-
ModulationProperty, Synchronize,
33+
ConfigureReadsFPGAInfo, ConfigureSilencer, DatagramT, FocusSTM, GainFilter, GainSTM,
34+
Modulation, ModulationProperty, Synchronize,
3535
},
3636
defined::{float, METER, MILLIMETER, PI},
3737
error::AUTDInternalError,

examples/src/tests/custom.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313

1414
use std::collections::HashMap;
1515

16-
use autd3::{
17-
derive::{Gain, Modulation},
18-
prelude::*,
19-
};
16+
use autd3::prelude::*;
2017
use autd3_driver::derive::*;
2118

2219
#[derive(Gain, Clone, Copy)]

0 commit comments

Comments
 (0)