-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainProgram.cs
More file actions
22 lines (20 loc) · 968 Bytes
/
MainProgram.cs
File metadata and controls
22 lines (20 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
using Codes;
class MainProgram
{
static void Main(string[] args)
{
int testValue = 765;
string testValue2 = "abcdef";
string testValue3 = "aabBcde";
string testValue4 = "123456";
int[] nums = [0, 1, 1, 0];
Console.WriteLine("Digital root: " + Digital_Root.Solution(testValue));
Console.WriteLine("Square digits: " + SquareEveryDigit.Solution(testValue));
Console.WriteLine("Split strings: " + string.Join(", ", SplitStrings.Solution(testValue2)));
Console.WriteLine("Bit counting: " + BitCounting.Solution(testValue));
Console.WriteLine("Counting duplicates: " + CountingDuplicates.Solution(testValue3));
Console.WriteLine("Regex validate PIN code: " + RegexValidatePinCode.Solution(testValue4));
Console.WriteLine("Ones and Zeros: " + OnesandZeros.Solution(nums));
Console.WriteLine("Break camelCase: " + BreakCamelCase.Solution(testValue3));
}
}