File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1610,11 +1610,11 @@ mod test {
1610
1610
1611
1611
#[ test]
1612
1612
fn test_cis ( ) {
1613
- assert ! ( close( Complex :: cis( 0.00 * f64 :: consts:: TAU ) , _1_0i) ) ;
1614
- assert ! ( close( Complex :: cis( 0.25 * f64 :: consts:: TAU ) , _0_1i) ) ;
1615
- assert ! ( close( Complex :: cis( 0.50 * f64 :: consts:: TAU ) , -_1_0i) ) ;
1616
- assert ! ( close( Complex :: cis( 0.75 * f64 :: consts:: TAU ) , -_0_1i) ) ;
1617
- assert ! ( close( Complex :: cis( 1.00 * f64 :: consts:: TAU ) , _1_0i) ) ;
1613
+ assert ! ( close( Complex :: cis( 0.0 * f64 :: consts:: PI ) , _1_0i) ) ;
1614
+ assert ! ( close( Complex :: cis( 0.5 * f64 :: consts:: PI ) , _0_1i) ) ;
1615
+ assert ! ( close( Complex :: cis( 1.0 * f64 :: consts:: PI ) , -_1_0i) ) ;
1616
+ assert ! ( close( Complex :: cis( 1.5 * f64 :: consts:: PI ) , -_0_1i) ) ;
1617
+ assert ! ( close( Complex :: cis( 2.0 * f64 :: consts:: PI ) , _1_0i) ) ;
1618
1618
}
1619
1619
1620
1620
#[ test]
You can’t perform that action at this time.
0 commit comments