exercism / dart

Exercism exercises in Dart.
https://exercism.org/tracks/dart
MIT License
57 stars 94 forks source link

Add stub for new exercise: sum-of-multiples #466

Closed kytrinyx closed 1 year ago

kytrinyx commented 1 year ago

This is a proposal for a new exercise based on the canonical data in the problem-specifications repository.

I didn't make any design choices whatsoever—if you think a different API would be better suited to this exercise, please suggest some changes, and I will regenerate the test suite.

I put myself as contributor rather than author, since I don't intend to write the example solution. As such, the authorship of this exercise is up for grabs to anyone who wants to spend a few minutes writing some code that will pass the tests.

Stargator commented 1 year ago

@kytrinyx The sum-of-multiplesexercise is missing the pubspec.yaml file.

kytrinyx commented 1 year ago

@Stargator there's a pubspec.yaml file in this PR. Is there a different pubspec that is missing? Or is it in the wrong place?

Stargator commented 1 year ago

there's a pubspec.yaml file in this PR. Is there a different pubspec that is missing? Or is it in the wrong place?

No, it's fine. I guess I just missed it.

Stargator commented 1 year ago

@kytrinyx I've implemented a solution and added the missing import in the test suite. I don't know if you want to regenerate the test suite. If not, then this is good.

kytrinyx commented 1 year ago

I don't need to regenerate the test suite (I'll add the import on my end so I have it next time I have to touch the exercise).

I'll add you as author and then get this merged.

Thank you so much for taking the time to implement the solution!

kytrinyx commented 1 year ago

Thanks @Stargator!