File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ mod timestamp {
97
97
mod delta_clockstamp {
98
98
use crate :: detail:: common_properties;
99
99
use crate :: utility;
100
- pub const STATUS : u8 = 0b0010 ;
100
+ pub const STATUS : u8 = 0b0100 ;
101
101
#[ midi2_proc:: generate_message( Via ( crate :: utility:: Utility ) , FixedSize , MinSizeUmp ( 1 ) ) ]
102
102
struct DeltaClockstamp {
103
103
#[ property( common_properties:: UmpMessageTypeProperty <{ utility:: UMP_MESSAGE_TYPE } >) ]
@@ -252,6 +252,16 @@ mod tests {
252
252
253
253
#[ test]
254
254
fn delta_clock_stamp_try_from ( ) {
255
- DeltaClockstamp :: try_from ( & [ 0x0020_0000 ] [ ..] ) . unwrap ( ) ;
255
+ DeltaClockstamp :: try_from ( & [ 0x0040_0000 ] [ ..] ) . unwrap ( ) ;
256
+ }
257
+
258
+ #[ test]
259
+ fn delta_clock_stamp_tpq_try_from ( ) {
260
+ DeltaClockstampTpq :: try_from ( & [ 0x0030_0000 ] [ ..] ) . unwrap ( ) ;
261
+ }
262
+
263
+ #[ test]
264
+ fn time_stamp_try_from ( ) {
265
+ Timestamp :: try_from ( & [ 0x0020_0000 ] [ ..] ) . unwrap ( ) ;
256
266
}
257
267
}
You can’t perform that action at this time.
0 commit comments