Laurin
|
315547fddf
|
refactoring: renamed some test functions
|
11 months ago |
Laurin
|
26343283e4
|
refactoring: made code more readable and added comments
|
11 months ago |
Laurin
|
004b81aca4
|
refactoring: added comments describing the function's behavior and use in header file
|
11 months ago |
Laurin
|
db5f6c1106
|
added test for converting hex input to decimal
|
11 months ago |
Laurin
|
ded7c60fcb
|
defined and implemented function to convert hex input to decimal
|
11 months ago |
Laurin
|
3b11e3b13f
|
added final test for converting binary input to decimal
|
11 months ago |
Laurin
|
2fe8d2dcbf
|
fixed function converting binary input to decimal not working for every input
|
11 months ago |
Laurin
|
bc133aa9f1
|
refactoring: handled possible memory allocation errors in both convert functions
|
11 months ago |
Laurin
|
16405fd475
|
refactoring: changed read only parameter of function from int to const int
|
11 months ago |
Laurin
|
bfaccfaecd
|
added test for implementation of hexStrLen function into convertIntToHex function
|
11 months ago |
Laurin
|
2800426e7c
|
implemented hexStrLen function into to convert function to dynamically determine hex string length
|
11 months ago |
Laurin
|
4032750fa9
|
added test to test special case of input 0
|
11 months ago |
Laurin
|
2faaa84310
|
added test to make sure hexStrLen function behaves as corrected
|
11 months ago |
Laurin
|
69da91f715
|
refactoring: corrected tes function name
|
11 months ago |
Laurin
|
e66f206d79
|
added test for hexStrLen function
|
11 months ago |
Laurin
|
f68766a844
|
implemented function for determining string length of hex string
|
11 months ago |
Laurin
|
ed0ba8f0b8
|
declared function to determine string length of hex string
|
11 months ago |
Laurin
|
943f911a82
|
added test for converting into hex for numbers smaller than 16
|
11 months ago |
Laurin
|
a96a875911
|
added other cases for input being smaller than 16
|
11 months ago |
Laurin
|
9fbe4606e1
|
added test for converting small int to hex string
|
11 months ago |
Laurin
|
9cbb10f125
|
added function to convert int to hex string for small ints
|
11 months ago |
Laurin
|
7dfe49145c
|
declared new function to convert int to hex in header file
|
11 months ago |
Laurin
|
bd55ea228b
|
added test for converting binary string of 1s and 0s to decimal
|
11 months ago |
Laurin
|
c7c45916fe
|
added test for converting longer binary string of 1s to decimal
|
11 months ago |
Laurin
|
e48b4f38a6
|
added test for converting binary string of 1s to decimal
|
11 months ago |
Laurin
|
a7218c6a73
|
implemented prototype function to convert binary strings of 1s into decimal
|
11 months ago |
Laurin
|
3648f419cd
|
declared new function in header file to convert binary numbers into decimal
|
11 months ago |
Laurin
|
f36bc32ed7
|
refactoring: free allocated memory in test functions
|
11 months ago |
Laurin
|
f68d810697
|
added test for converting negative integer
|
11 months ago |
Laurin
|
abf4d186ad
|
added if statement to be able to convert negative integers
|
11 months ago |
Laurin
|
01a54ce836
|
added test for binaryStrLen in case input is negative
|
11 months ago |
Laurin
|
fb4ad3c51b
|
expanded binaryStrLen to determine length in case input is negative
|
11 months ago |
Laurin
|
69d57301a1
|
refactoring: moved if statement for input 0 to top
|
11 months ago |
Laurin
|
bc51648c31
|
refactoring: changed test function names to be more specific
|
11 months ago |
Laurin
|
3b81a29e10
|
added test for implementation of binaryStrLen function
|
11 months ago |
Laurin
|
6fd5e28d8c
|
implemented binaryStrLen function into convertIntToBinaryStr
|
11 months ago |
Laurin
|
aa2e397bec
|
fix added smaller equal sign in loop head
|
11 months ago |
Laurin
|
bb18fb7e4b
|
added test for binaryStrLen in case input is 0
|
11 months ago |
Laurin
|
e504c53d9f
|
added case in binaryStrLen for input 0 length is 1
|
11 months ago |
Laurin
|
9430c473b1
|
added test for determining binary string length
|
11 months ago |
Laurin
|
08f6485826
|
added function to determine binary string length
|
11 months ago |
Laurin
|
c91005ceb8
|
declared new function to determine length of binary string in header file
|
11 months ago |
Laurin
|
501ebf2245
|
refactoring: used length for indexing instead of index
|
11 months ago |
Laurin
|
7c0bee3c9f
|
added test to convert 2 into binary string
|
11 months ago |
Laurin
|
7b11525191
|
added function to convert int from 0 - 3 into binary string
|
11 months ago |
Laurin
|
d335bfcb5f
|
defined conversionOfNumbers.h
|
11 months ago |
TheUltimateOptimist
|
cec0a1e74d
|
fixed failing tests by removing 64
|
11 months ago |
TheUltimateOptimist
|
7cf9f0d312
|
refactoring: prefixed input retrieval functions with user
|
11 months ago |
TheUltimateOptimist
|
7a7fceb464
|
refactoring: created printInvalidNumberMessage function
|
11 months ago |
TheUltimateOptimist
|
d8af3aa1a5
|
refactoring: created isNumberValid function
|
11 months ago |