File tree Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,44 @@ namespace UnitsNet.Tests.CustomCode
26
26
{
27
27
public class InformationTests : InformationTestsBase
28
28
{
29
- // TODO Override properties in base class here
29
+ protected override double BitsInOneBit
30
+ {
31
+ get { return 1 ; }
32
+ }
33
+
34
+ protected override double BytesInOneBit
35
+ {
36
+ get { return 0.125 ; }
37
+ }
38
+
39
+ protected override double ExabytesInOneBit
40
+ {
41
+ get { return 0.125 * 1e-18 ; }
42
+ }
43
+
44
+ protected override double GigabytesInOneBit
45
+ {
46
+ get { return 0.125 * 1e-9 ; }
47
+ }
48
+
49
+ protected override double KilobytesInOneBit
50
+ {
51
+ get { return 0.000125 ; }
52
+ }
53
+
54
+ protected override double MegabytesInOneBit
55
+ {
56
+ get { return 0.125 * 1e-6 ; }
57
+ }
58
+
59
+ protected override double PetabytesInOneBit
60
+ {
61
+ get { return 0.125 * 1e-15 ; }
62
+ }
63
+
64
+ protected override double TerabytesInOneBit
65
+ {
66
+ get { return 0.125 * 1e-12 ; }
67
+ }
30
68
}
31
69
}
You can’t perform that action at this time.
0 commit comments