Permalink
Browse files

RootSample - test for factors of 9 with 'i'

  • Loading branch information...
bobbymcr committed Aug 28, 2018
1 parent c069e31 commit da15bfcc94bd626cfa53fd7a117052a176c46f6e
Showing with 6 additions and 0 deletions.
  1. +6 −0 projects/RootSample/RootSample.Test/RootTermTest.cs
@@ -48,6 +48,12 @@ public sealed class RootTermTest
[InlineData(2147483646, "3*sqrt(238609294)")]
public void FactorsOfNine(int n, string expected) => Test(n, expected);
[Theory]
[InlineData(-18, "3*sqrt(2)*i")]
[InlineData(-243, "9*sqrt(3)*i")]
[InlineData(-2147483646, "3*sqrt(238609294)*i")]
public void FactorsOfNineNeg(int n, string expected) => Test(n, expected);
[Theory]
[InlineData(50, "5*sqrt(2)")]
[InlineData(1220703125, "15625*sqrt(5)")]

0 comments on commit da15bfc

Please sign in to comment.