mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
update tests and examples after the mutability fix
This commit is contained in:
@ -134,7 +134,7 @@ fn test_complex_angle(){
|
||||
assert (c.angle() * 180 / math.pi).eq(135)
|
||||
c = cmplx.complex(-1, -1)
|
||||
assert (c.angle() * 180 / math.pi).eq(-135)
|
||||
mut cc := c.conjugate()
|
||||
cc := c.conjugate()
|
||||
assert (cc.angle() + c.angle()).eq(0)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user