From 4a8596c768e5abc5c84bf44d0d67a14029c3fb1a Mon Sep 17 00:00:00 2001 From: Parker Zach Date: Wed, 31 Mar 2021 15:09:07 -0500 Subject: [PATCH 1/2] .travis.yml --- .DS_Store | Bin 0 -> 6148 bytes .travis.yml | 9 +++++++++ 2 files changed, 9 insertions(+) create mode 100644 .DS_Store create mode 100644 .travis.yml diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..c2973278ade6763edd1470d280063e90c199efdd GIT binary patch literal 6148 zcmeHK&2G~`5T0#P>VzV4K%$pQzHqCeRQ)?4rTIBT0)%h{2SBYITd9TXjbf)!2|>AV z;t4>4SKv8#0-l8veEUOi>{i?mqC3*gx89wZ^?p0v^%4lNXhU8M8UO^8ipd@Gi{!jMa zBpG^Qa2qZEqC->JUw>PQ%~2AFug_H z^`3^ozl-nAA!ADdI#GE^$IO6dDeZsFo zPeAb@b?70mj)n1a)P09lc4b%TNDxeEo@AK=pEEg7h0O>Ha*hR05c>krqg?cNi2f<# zvySM$ecDKYI(#FFm;FejOLnZytNh^KLB^&?q5wL@yTnKl@jhedfJV!aWol(3W1wp- zI=if!*O~=0dBcEV;4%ip{$QgBY-*enyXV_6YL@dk<%^x2{UY-*e< SL<_|H2uK=?G7S7x27Urm=hfl> literal 0 HcmV?d00001 diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..5bf208ef --- /dev/null +++ b/.travis.yml @@ -0,0 +1,9 @@ +language: csharp +solution: TravisCI.sln +branches: + only: + - master +install: + - nuget restore TravisCI.sln +script: + - msbuild /p:Configuration=Release TravisCI.sln From 6b6c0607ad26fec1077d5266ea740b78cafa64be Mon Sep 17 00:00:00 2001 From: Parker Zach Date: Wed, 31 Mar 2021 15:29:42 -0500 Subject: [PATCH 2/2] Power Function --- Console/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Console/Program.cs b/Console/Program.cs index b3fcdf6a..f0c618ae 100644 --- a/Console/Program.cs +++ b/Console/Program.cs @@ -84,7 +84,7 @@ public static double Divide(string x, string y) // Implement this method following a similar pattern as above public static double Power(string x, string y) { - throw new NotImplementedException(); + return Math.Pow(double.Parse(x), double.Parse(y)); } }