@@ -9,57 +9,57 @@ namespace UnitsNet.Tests
99 public class InformationTests : InformationTestsBase
1010 {
1111 protected override bool SupportsSIUnitSystem => false ;
12- protected override decimal BitsInOneBit => 1m ;
12+ protected override double BitsInOneBit => 1 ;
1313
14- protected override decimal BytesInOneBit => 0.125m ;
14+ protected override double BytesInOneBit => 0.125 ;
1515
16- protected override decimal ExabitsInOneBit => 1e-18m ;
16+ protected override double ExabitsInOneBit => 1e-18 ;
1717
18- protected override decimal ExabytesInOneBit => 0.125m * 1e-18m ;
18+ protected override double ExabytesInOneBit => 0.125 * 1e-18 ;
1919
20- protected override decimal ExbibitsInOneBit => 1m / ( decimal ) Math . Pow ( 1024 , 6 ) ;
20+ protected override double ExbibitsInOneBit => 1d / Math . Pow ( 1024 , 6 ) ;
2121
22- protected override decimal ExbibytesInOneBit => 1m / 8m / ( decimal ) Math . Pow ( 1024 , 6 ) ;
22+ protected override double ExbibytesInOneBit => 1d / 8 / Math . Pow ( 1024 , 6 ) ;
2323
24- protected override decimal GibibitsInOneBit => 1m / ( decimal ) Math . Pow ( 1024 , 3 ) ;
24+ protected override double GibibitsInOneBit => 1d / Math . Pow ( 1024 , 3 ) ;
2525
26- protected override decimal GibibytesInOneBit => 1m / 8m / ( decimal ) Math . Pow ( 1024 , 3 ) ;
26+ protected override double GibibytesInOneBit => 1d / 8 / Math . Pow ( 1024 , 3 ) ;
2727
28- protected override decimal GigabitsInOneBit => 1e-9m ;
28+ protected override double GigabitsInOneBit => 1e-9 ;
2929
30- protected override decimal GigabytesInOneBit => 0.125m * 1e-9m ;
30+ protected override double GigabytesInOneBit => 0.125 * 1e-9 ;
3131
32- protected override decimal KibibitsInOneBit => 1m / 1024m ;
32+ protected override double KibibitsInOneBit => 1d / 1024 ;
3333
34- protected override decimal KibibytesInOneBit => 1m / 8 / 1024m ;
34+ protected override double KibibytesInOneBit => 1d / 8 / 1024 ;
3535
36- protected override decimal KilobitsInOneBit => 0.001m ;
36+ protected override double KilobitsInOneBit => 0.001 ;
3737
38- protected override decimal KilobytesInOneBit => 0.000125m ;
38+ protected override double KilobytesInOneBit => 0.000125 ;
3939
40- protected override decimal MebibitsInOneBit => 1m / ( decimal ) Math . Pow ( 1024 , 2 ) ;
40+ protected override double MebibitsInOneBit => 1d / Math . Pow ( 1024 , 2 ) ;
4141
42- protected override decimal MebibytesInOneBit => 1m / 8m / ( decimal ) Math . Pow ( 1024 , 2 ) ;
42+ protected override double MebibytesInOneBit => 1d / 8 / Math . Pow ( 1024 , 2 ) ;
4343
44- protected override decimal MegabitsInOneBit => 1e-6m ;
44+ protected override double MegabitsInOneBit => 1e-6 ;
4545
46- protected override decimal MegabytesInOneBit => 0.125m * 1e-6m ;
46+ protected override double MegabytesInOneBit => 0.125 * 1e-6 ;
4747
48- protected override decimal PebibitsInOneBit => 1m / ( decimal ) Math . Pow ( 1024 , 5 ) ;
48+ protected override double PebibitsInOneBit => 1d / Math . Pow ( 1024 , 5 ) ;
4949
50- protected override decimal PebibytesInOneBit => 1m / 8m / ( decimal ) Math . Pow ( 1024 , 5 ) ;
50+ protected override double PebibytesInOneBit => 1d / 8 / Math . Pow ( 1024 , 5 ) ;
5151
52- protected override decimal PetabitsInOneBit => 1e-15m ;
52+ protected override double PetabitsInOneBit => 1e-15 ;
5353
54- protected override decimal PetabytesInOneBit => 0.125m * 1e-15m ;
54+ protected override double PetabytesInOneBit => 0.125 * 1e-15 ;
5555
56- protected override decimal TebibitsInOneBit => 1m / ( decimal ) Math . Pow ( 1024 , 4 ) ;
56+ protected override double TebibitsInOneBit => 1d / Math . Pow ( 1024 , 4 ) ;
5757
58- protected override decimal TebibytesInOneBit => 1m / 8m / ( decimal ) Math . Pow ( 1024 , 4 ) ;
58+ protected override double TebibytesInOneBit => 1d / 8 / Math . Pow ( 1024 , 4 ) ;
5959
60- protected override decimal TerabitsInOneBit => 1e-12m ;
60+ protected override double TerabitsInOneBit => 1e-12 ;
6161
62- protected override decimal TerabytesInOneBit => 0.125m * 1e-12m ;
62+ protected override double TerabytesInOneBit => 0.125 * 1e-12 ;
6363
6464 [ Fact ]
6565 public void OneKBHas1000Bytes ( )
0 commit comments