Skip to content
Closed
Show file tree
Hide file tree
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 Nov 22, 2024
9cea01c
Created a function to return values based on the card value
sernamalala Nov 22, 2024
02f6bae
Created a function to return values based on the card value and a tes…
sernamalala Nov 22, 2024
e28dd0a
Created a function to check for proper functions
sernamalala Nov 22, 2024
f1984fa
making a test function for this function right now
sernamalala Nov 22, 2024
5db99f4
made some correction to some errors
sernamalala Nov 22, 2024
ab58a8b
Created a function to check whether a triangle with three sides is va…
sernamalala Nov 24, 2024
5001df3
added export bit
sernamalala Nov 24, 2024
3f5c482
I fixed my function to accomodate negative sides in a triangle
sernamalala Nov 24, 2024
e1e2226
I was in a huddle with someone and I found out that I'm supposed to r…
sernamalala Nov 24, 2024
45e1c63
created a function with some built in JS functions I searched online …
sernamalala Nov 24, 2024
930093b
created a function with some built in JS functions I searched online …
sernamalala Nov 24, 2024
9e42d74
created the roate function test and fixed up some issues in the other…
sernamalala Nov 24, 2024
9601b97
created some code where I can validate a credit card by using differe…
sernamalala Nov 25, 2024
144d3bf
I created a count function to count the number of specific characters…
sernamalala Nov 25, 2024
bbc4146
created a test file for the countChar function created also used gpt …
sernamalala Nov 25, 2024
c1dce74
created an ordinal number function that works with different cases;
sernamalala Nov 25, 2024
963bfb4
created a test for the ordinal function
sernamalala Nov 25, 2024
e7a503c
Made a repeat function that meets all the requirements
sernamalala Nov 25, 2024
4ae6822
Created a test file for the repeat.js function that I created
sernamalala Nov 25, 2024
49a259b
created a function that checks whether a number is a prime number or not
sernamalala Nov 25, 2024
2cd93a3
created a function that checks whether a number is a prime number or not
sernamalala Nov 25, 2024
493e9ae
created a test for the prime function
sernamalala Nov 25, 2024
31af581
fixed an issue and added an error for negative integers
sernamalala Nov 25, 2024
f4d1d6f
created a password validator using regular expressions
sernamalala Nov 26, 2024
749cdef
Created a test file for the password validator
sernamalala Nov 26, 2024
103f743
Added some relevant comments to keep things clear and fixed some things
sernamalala Nov 26, 2024
3654ad1
I made a few more comments and fixed some code and some errors, put m…
sernamalala Nov 26, 2024
92624dd
Answered the given questions on the while loop
sernamalala Nov 26, 2024
6d39b40
fixed reflex angle condition
sernamalala Dec 2, 2024
245c96b
Made the function only accept the given integers, decimal numbers not…
sernamalala Dec 2, 2024
484a238
Added an extra test
sernamalala Dec 2, 2024
3e07cb1
Added a couple more test cases that are appropriate for testing the f…
sernamalala Dec 2, 2024
c21bf9d
made changes to the varibale name to follow proper conventions for na…
sernamalala Dec 2, 2024
f18e22a
implemented a new function which is straightforward with some additio…
sernamalala Dec 3, 2024
36319ff
fixed a test that I had for the program
sernamalala Dec 3, 2024
3fc5269
fixed the regex bits of the function
sernamalala Dec 3, 2024
b14e941
made changes
sernamalala Dec 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
made some correction to some errors
  • Loading branch information
sernamalala committed Nov 22, 2024
commit 5db99f4124dd61fa935cccc22a21decf6ef531be
2 changes: 1 addition & 1 deletion Sprint-3/implement/is-proper-fraction.js

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?

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

function isProperFraction(input) {

input - input.toString();
input = input.toString();

let whole = input.split("/");

Expand Down
8 changes: 8 additions & 0 deletions Sprint-3/implement/is-proper-fraction.test.js
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);
})