public async Task CanGetKeyboards() { try { var result = await QMKCompilerAPI.GetKeyboardsAsync(); Assert.NotEmpty(result); } catch (Exception) { Fail(); } }
public async Task CanGetKeyboard(string name) { try { var result = await QMKCompilerAPI.GetKeyboardAsync(name); Assert.NotNull(result); Assert.NotEmpty(result.Layouts); foreach (var layout in result.Layouts.Values) { Assert.NotEmpty(layout.Layout); } } catch (Exception) { Fail(); } }