generated from CodeYourFuture/Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 225
CYF-ITP-South Africa | Serna Malala| Module-Structuring-and-Testing-Data | Week 3 #198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from 1 commit
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
9b5725f
added a test file for the get angle function and implemented the func…
sernamalala 9cea01c
Created a function to return values based on the card value
sernamalala 02f6bae
Created a function to return values based on the card value and a tes…
sernamalala e28dd0a
Created a function to check for proper functions
sernamalala f1984fa
making a test function for this function right now
sernamalala 5db99f4
made some correction to some errors
sernamalala ab58a8b
Created a function to check whether a triangle with three sides is va…
sernamalala 5001df3
added export bit
sernamalala 3f5c482
I fixed my function to accomodate negative sides in a triangle
sernamalala e1e2226
I was in a huddle with someone and I found out that I'm supposed to r…
sernamalala 45e1c63
created a function with some built in JS functions I searched online …
sernamalala 930093b
created a function with some built in JS functions I searched online …
sernamalala 9e42d74
created the roate function test and fixed up some issues in the other…
sernamalala 9601b97
created some code where I can validate a credit card by using differe…
sernamalala 144d3bf
I created a count function to count the number of specific characters…
sernamalala bbc4146
created a test file for the countChar function created also used gpt …
sernamalala c1dce74
created an ordinal number function that works with different cases;
sernamalala 963bfb4
created a test for the ordinal function
sernamalala e7a503c
Made a repeat function that meets all the requirements
sernamalala 4ae6822
Created a test file for the repeat.js function that I created
sernamalala 49a259b
created a function that checks whether a number is a prime number or not
sernamalala 2cd93a3
created a function that checks whether a number is a prime number or not
sernamalala 493e9ae
created a test for the prime function
sernamalala 31af581
fixed an issue and added an error for negative integers
sernamalala f4d1d6f
created a password validator using regular expressions
sernamalala 749cdef
Created a test file for the password validator
sernamalala 103f743
Added some relevant comments to keep things clear and fixed some things
sernamalala 3654ad1
I made a few more comments and fixed some code and some errors, put m…
sernamalala 92624dd
Answered the given questions on the while loop
sernamalala 6d39b40
fixed reflex angle condition
sernamalala 245c96b
Made the function only accept the given integers, decimal numbers not…
sernamalala 484a238
Added an extra test
sernamalala 3e07cb1
Added a couple more test cases that are appropriate for testing the f…
sernamalala c21bf9d
made changes to the varibale name to follow proper conventions for na…
sernamalala f18e22a
implemented a new function which is straightforward with some additio…
sernamalala 36319ff
fixed a test that I had for the program
sernamalala 3fc5269
fixed the regex bits of the function
sernamalala b14e941
made changes
sernamalala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
made some correction to some errors
- Loading branch information
commit 5db99f4124dd61fa935cccc22a21decf6ef531be
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
const isProperFraction = require('./is-proper-fraction'); | ||
|
||
const currentOutput = isProperFraction(2 / 7); | ||
const targetOutput = true; | ||
|
||
test('This will test if a proper fraction is tested properly', () => { | ||
expect(currentOutput).toEqual(targetOutput); | ||
}) |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How are you handling the equal denominator and equal numerator scenario?