public void TryGetKey_USCulture_PoundSterlingNotFound() { var finder = new VirtualKeyCodeFinder(us); var found = finder.TryGetKey('£', out var _); Assert.False(found); }
public void TryGetKey_GBCulture_ReturnsVKCode(char character, VirtualKeyCode vkCode) { var finder = new VirtualKeyCodeFinder(gb); var found = finder.TryGetKey(character, out var foundVirtualKeyCode); Assert.True(found); Assert.Equal(vkCode, foundVirtualKeyCode); }