@@ -20,7 +20,7 @@ func Test_GenerateRandomFloatPositiveRange(t *testing.T) {
20
20
21
21
assert .GreaterOrEqual (t , res , min , "The result should be greater or equal to the minimum" )
22
22
assert .LessOrEqual (t , res , max , "The result should be less or equal to the maximum" )
23
- assert .Equal (t , precision , transformer_utils .GetFloat64Length (res ), "The float shoudl have reduced precision based on the " )
23
+ assert .Equal (t , precision , transformer_utils .GetFloat64Length (res ), "The float should have reduced precision based on the " )
24
24
25
25
}
26
26
@@ -36,7 +36,7 @@ func Test_GenerateRandomFloatNegativeRange(t *testing.T) {
36
36
// swapped because negative min number is the max
37
37
assert .GreaterOrEqual (t , res , max , "The result should be greater or equal to the minimum" )
38
38
assert .LessOrEqual (t , res , min , "The result should be less or equal to the maximum" )
39
- assert .Equal (t , precision , transformer_utils .GetFloat64Length (res ), "The float shoudl have reduced precision based on the " )
39
+ assert .Equal (t , precision , transformer_utils .GetFloat64Length (res ), "The float should have reduced precision based on the " )
40
40
41
41
}
42
42
@@ -51,7 +51,7 @@ func Test_GenerateRandomFloatNegativetoPositiveRange(t *testing.T) {
51
51
52
52
assert .GreaterOrEqual (t , res , min , "The result should be greater or equal to the minimum" )
53
53
assert .LessOrEqual (t , res , max , "The result should be less or equal to the maximum" )
54
- assert .Equal (t , precision , transformer_utils .GetFloat64Length (res ), "The float shoudl have reduced precision based on the " )
54
+ assert .Equal (t , precision , transformer_utils .GetFloat64Length (res ), "The float should have reduced precision based on the " )
55
55
56
56
}
57
57
@@ -75,7 +75,7 @@ func Test_GenerateRandomFloatRandomizePositive(t *testing.T) {
75
75
assert .LessOrEqual (t , res , - min , "The result should be less or equal to the maximum" )
76
76
}
77
77
78
- assert .Equal (t , precision , transformer_utils .GetFloat64Length (res ), "The float shoudl have reduced precision based on the " )
78
+ assert .Equal (t , precision , transformer_utils .GetFloat64Length (res ), "The float should have reduced precision based on the " )
79
79
80
80
}
81
81
@@ -97,7 +97,7 @@ func Test_GenerateRandomFloatRandomizeNegative(t *testing.T) {
97
97
assert .GreaterOrEqual (t , res , max , "The result should be greater or equal to the minimum" )
98
98
assert .LessOrEqual (t , res , min , "The result should be less or equal to the maximum" )
99
99
}
100
- assert .Equal (t , precision , transformer_utils .GetFloat64Length (res ), "The float shoudl have reduced precision based on the " )
100
+ assert .Equal (t , precision , transformer_utils .GetFloat64Length (res ), "The float should have reduced precision based on the " )
101
101
102
102
}
103
103
@@ -119,7 +119,7 @@ func Test_GenerateRandomFloatRandomizeNegativeToPositive(t *testing.T) {
119
119
assert .GreaterOrEqual (t , res , - max , "The result should be greater or equal to the minimum" )
120
120
assert .LessOrEqual (t , res , min , "The result should be less or equal to the maximum" )
121
121
}
122
- assert .Equal (t , precision , transformer_utils .GetFloat64Length (res ), "The float shoudl have reduced precision based on the " )
122
+ assert .Equal (t , precision , transformer_utils .GetFloat64Length (res ), "The float should have reduced precision based on the " )
123
123
124
124
}
125
125
@@ -139,6 +139,6 @@ func Test_GenerateRandomFloatTransformer(t *testing.T) {
139
139
140
140
assert .GreaterOrEqual (t , res .(float64 ), min , "The result should be greater or equal to the minimum" )
141
141
assert .LessOrEqual (t , res .(float64 ), max , "The result should be less or equal to the maximum" )
142
- assert .Equal (t , precision , transformer_utils .GetFloat64Length (res .(float64 )), "The float shoudl have reduced precision based on the " )
142
+ assert .Equal (t , precision , transformer_utils .GetFloat64Length (res .(float64 )), "The float should have reduced precision based on the " )
143
143
144
144
}
0 commit comments