Add Basic Color Test for RGB#543
Conversation
31e78a7 to
13d289b
Compare
|
I might need some guidance here @Danielku15 – I'm not sure how these C# tests are generated / what I'm doing incorrectly. |
|
Hi there. This way you get the same error locally and can inspect the C# code. You will notice that the test method is having a space which is not supported for C#: You will notice that all test names within alphaTab are following the kebab-case naming convention. This way you can fix the test. Either you simply adapt the test name, or you dare to touch the C# transpiler to add support for spaces 😉 |
|
Ah–okay. Thanks for the explanation. This should be fixed in bb1e130 |
|
Thanks for the contribution. Merged the changes 👍 |

Issues
Fixes #387
Proposed changes
Updates the
substringlogic inColor.tsto properly grab the RGB values. Without this changenumbersends up being an array w/ a single item in it with eventually causes the method to returnnull.Checklist
Further details