Commit Graph

490 Commits (369a3d367800a2f8347b678d97706993b316a0f0)

Author SHA1 Message Date
Tristram Oaten 2ac6606c6c fix(intro2): changed intro2 to be a name error, not a format string error. 11 months ago
markgreene74 3545c5a7a4 fix(intro1.rs): typo in the exercise body 11 months ago
Adam Brewer 64d95837e9 Update Exercises Directory Names to Reflect Order 11 months ago
Matt Nield 642aac6f43
chore(errors2): minor description wording change
This commit makes a minor change in the wording of the description of the errors2 exercise to avoid potential confusion, changing:

"A player of the game will type in how many items they want to buy, and the `total_cost` function will calculate the total cost of the tokens."
to
"A player of the game will type in how many items they want to buy, and the `total_cost` function will calculate the total cost of the items."
12 months ago
Ofir Lauber 83ac243c00 chore: fix comment in enums3.rs 1 year ago
liv 170aaabe9b
Merge pull request #1673 from husjon/fix-enums3-formatting
Fixed formatting of `enums3` with rustfmt
1 year ago
liv 2e48fe9cc7
Merge pull request #1675 from jurglic/fix-rand-typo
fix: test name typo
1 year ago
Luka Krmpotic eb84eaf151 remove hint comments when no hint exists 1 year ago
Jurglic a0699bd917 fix: test name typo 1 year ago
Jon Erling Hustadnes 0ee9c5b776 Fixed formatting with rust-analyzer 1 year ago
liv e12504a61d
Merge pull request #1667 from husjon/update-primitive_types3-requirement
Make `primitive_types3` require at least 100 elements
1 year ago
Oscar Bonilla 33a4f4e454 Fix compiler error and clarify instructions 1 year ago
Jon Erling Hustadnes a5e4133516
Make primitive_types3 require at least 100 elements
Made the function panic if it's not long enough
1 year ago
liv 4d04aad890
Merge pull request #1641 from mo8it/move-semantics5-test
Convert exercises with assertions to tests
1 year ago
liv 992e5163d3
Merge pull request #1565 from pksadiq/fix-enum3-message-modification
fix(enums3): modify message string in test
1 year ago
liv c57ad35e5b
Merge pull request #1477 from bean5/main
small changes to a few README files
1 year ago
liv abc3013096
Merge pull request #1660 from rust-lang/fix/move-semantics-tests
fix: refactor move semantics 1-4 into tests
1 year ago
liv 51e237d5f9 fix: refactor move semantics 1-4 into tests 1 year ago
liv 849e4a3647
Merge pull request #1599 from szabgab/if1-test-case
add test-case to if/if1 to check equal values
1 year ago
liv c177507db3
Merge pull request #1610 from jrcarl624/patch-1
Updated if3.rs: Added a note that states that the test does not need to be changed.
1 year ago
liv a09a0c47ae fix: add extra line in if3 comment 1 year ago
liv 6378c2a81f
Merge pull request #1620 from mkovaxx/fix_1611
Fix 1611
1 year ago
liv 2d1da2ab57
Merge pull request #1645 from mo8it/prober-types-structs3
Use u32 instead of i32
1 year ago
mo8it 9c0581bc0f Use u32 instead of i32 1 year ago
mo8it 193b600382 Convert other exercises that have assertions to test mode 1 year ago
mo8it 16936d95d1 Fix typo 1 year ago
mo8it 64224d3918 Make move_semantics5 a test 1 year ago
Ivan Vasiunyk fa0463b3b2
fix(errors1): change Result to Option in exersise description 1 year ago
Kevin C ad1c29c512 Fix comment in errors2 1 year ago
Mate Kovacs 720f33eee6 add .to_mut() in test owned_mutation() 1 year ago
Alon Hearter 2691a35102
Fix from_into.rs tests 1 year ago
Joshua Carlson 828e724659
Added note related to tests. 1 year ago
Marcus Höjvall be8d1df8b9
chore(errors4): improved comment 1 year ago
Alexander González ef8f1f108b
docs: dedup repeated sentence 1 year ago
Gabor Szabo 7f9f897945 add test-case to if/if1 to check equal values 1 year ago
Joshua Carlson 287172698a added if3 based on: `Using if in a let Statement` 1 year ago
Anish eacf7db6f3
refactor: Update comment to use correct construct name 'Result' instead of 'Option'
Refactor the comment in the code to provide a more accurate description of the construct being used. Replace the mention of Option with Result.
1 year ago
Mohammed Sadiq c5231f0ce3 fix(enums3): modify message string in test
Otherwise it won't actually test the change of state.message and
it would fail to check if the user missed changing state.message

This happened to me as I had a catch-all line in `match`
1 year ago
liv b44472b237
Merge branch 'main' into comment_cleanup 1 year ago
liv 171d20ce3e
Merge pull request #1546 from b-apperlo/b-apperlo-patch-1
feat: added test function to hashmaps2.rs
1 year ago
liv 974717ca11
Merge pull request #1547 from b-apperlo/b-apperlo-patch-2
fix: update hashmaps3.rs
1 year ago
liv 0d2a1bdef1
Merge pull request #1549 from IVIURRAY/enums3-message-test
fix(enums3): add test for message
1 year ago
liv 369ae2e63d feat(move_semantics2): rewrite hint 1 year ago
IVIURARY d0a1783083 fix(enums3): add test for message
closes #1548
1 year ago
Bert Apperlo a4fe3602b2
fix: updated comment for struct 1 year ago
Bert Apperlo 8974e33f69
fix: update hashmaps3.rs 1 year ago
Bert Apperlo bbfb4c7e63
feat: added test function to hashmaps2.rs
The existing test functions only check if a kind of fruit exists in the hashmap, but not if the amount of fruits is higher than zero. This new test function solves this.
1 year ago
Robert Fry 7eef5d15ee
docs: cleanup the explanation paragraphs at the start of each exercise. 1 year ago
lazywalker 9604ab6621 fix(exercises): use snake_case variables 1 year ago
liv 656140d9e6
Merge pull request #1478 from Ben2917/improved_tests_for_iterators5
fix: Added some extra tests to validate iterators5 solution
1 year ago