| @@ -25,19 +25,19 @@ namespace Discord | |||||
| // test modify with no parameters after using all | // test modify with no parameters after using all | ||||
| copy = ChannelPermissions.Text; | copy = ChannelPermissions.Text; | ||||
| var modified = copy.Modify(); // no params should not change the result | var modified = copy.Modify(); // no params should not change the result | ||||
| Assert.Equal((ulong)ChannelPermissions.Text.RawValue, modified.RawValue); | |||||
| Assert.Equal(ChannelPermissions.Text.RawValue, modified.RawValue); | |||||
| copy = ChannelPermissions.Voice; | copy = ChannelPermissions.Voice; | ||||
| modified = copy.Modify(); // no params should not change the result | modified = copy.Modify(); // no params should not change the result | ||||
| Assert.Equal((ulong)ChannelPermissions.Voice.RawValue, modified.RawValue); | |||||
| Assert.Equal(ChannelPermissions.Voice.RawValue, modified.RawValue); | |||||
| copy = ChannelPermissions.Group; | copy = ChannelPermissions.Group; | ||||
| modified = copy.Modify(); // no params should not change the result | modified = copy.Modify(); // no params should not change the result | ||||
| Assert.Equal((ulong)ChannelPermissions.Group.RawValue, modified.RawValue); | |||||
| Assert.Equal(ChannelPermissions.Group.RawValue, modified.RawValue); | |||||
| copy = ChannelPermissions.DM; | copy = ChannelPermissions.DM; | ||||
| modified = copy.Modify(); // no params should not change the result | modified = copy.Modify(); // no params should not change the result | ||||
| Assert.Equal((ulong)ChannelPermissions.DM.RawValue, modified.RawValue); | |||||
| Assert.Equal(ChannelPermissions.DM.RawValue, modified.RawValue); | |||||
| copy = new ChannelPermissions(useExternalEmojis: true); | copy = new ChannelPermissions(useExternalEmojis: true); | ||||
| modified = copy.Modify(); | modified = copy.Modify(); | ||||