Skip to content

Tests for abc.js#4385

Merged
walterbender merged 7 commits intosugarlabs:masterfrom
Commanderk3:test_abc
Feb 11, 2025
Merged

Tests for abc.js#4385
walterbender merged 7 commits intosugarlabs:masterfrom
Commanderk3:test_abc

Conversation

@Commanderk3
Copy link
Member

@Commanderk3 Commanderk3 commented Feb 10, 2025

Tests for abc.js have been implemented.
image

@walterbender Please check this PR.

"L:1/16\n"+
"M:C\n"+
"K:CMAJOR\n"+
"G^ 4 G^4 F 4 F4 G^ 2 G^8 \n";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strange that sometimes there is a space before the octave number and sometimes not. Is this predicable? if not, maybe we need to use a regex to do the matching?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay sir, I will look into it. If we can apply regex here I will do so.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe you can investigate why the spaces are appearing that way before doing any additional coding. It is unexpected.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay 👍

@Commanderk3
Copy link
Member Author

@walterbender Sir there was an extra line (at 337 abc.js) to add a space. I removed that line. Now the notation looks like this :->

image

@walterbender
Copy link
Member

Thanks for tracking that down.

@walterbender walterbender merged commit 8420299 into sugarlabs:master Feb 11, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants