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 diff --git a/Console/Program.cs b/Console/Program.cs index b3fcdf6a..b71ca11b 100644 --- a/Console/Program.cs +++ b/Console/Program.cs @@ -84,7 +84,8 @@ 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)); } }