fix: no false point on start
This commit is contained in:
parent
2a6f41713e
commit
6b289eecfd
2 changed files with 9 additions and 15 deletions
|
@ -98,4 +98,12 @@ public class KeySequenceTests {
|
|||
|
||||
Assert.IsTrue(history.ContainsSequence(sequence, 0x5, false));
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void NoPresses_MustntContain_DontContain() {
|
||||
List<int> sequence = new() { 0x1, 0x2, 0x3 };
|
||||
KeyHistory history = new();
|
||||
|
||||
Assert.IsFalse(history.ContainsSequence(sequence, 0x5, false));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue