mirror of
https://github.com/davidgiven/fluxengine.git
synced 2025-10-31 11:17:01 -07:00
Correctly propagate MFM encoding state.
This commit is contained in:
@@ -82,6 +82,19 @@ static void testEncodeMfm(void)
|
||||
false, false
|
||||
})
|
||||
);
|
||||
|
||||
assert(wrappedEncodeMfm(Bytes{ 0xb0 })
|
||||
== (std::vector<bool>{
|
||||
false, true,
|
||||
false, false,
|
||||
false, true,
|
||||
false, true,
|
||||
false, false,
|
||||
true, false,
|
||||
true, false,
|
||||
true, false,
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
static void testEncodeFm(void)
|
||||
|
||||
Reference in New Issue
Block a user