@@ -39,7 +39,10 @@ final class BSONValueTests: MongoSwiftTestCase {
3939 // Double
4040 self . checkTrueAndFalse ( val: 1.618 , alternate: 2.718 )
4141 // Decimal128
42- self . checkTrueAndFalse ( val: . decimal128( BSONDecimal128 ( " 1.618 " ) !) , alternate: . decimal128( BSONDecimal128 ( " 2.718 " ) !) )
42+ self . checkTrueAndFalse (
43+ val: . decimal128( BSONDecimal128 ( " 1.618 " ) !) ,
44+ alternate: . decimal128( BSONDecimal128 ( " 2.718 " ) !)
45+ )
4346 // Bool
4447 self . checkTrueAndFalse ( val: true , alternate: false )
4548 // String
@@ -217,7 +220,13 @@ final class BSONValueTests: MongoSwiftTestCase {
217220
218221 let cases = [
219222 BSONNumberTestCase ( int: 5 , double: 5.0 , int32: Int32 ( 5 ) , int64: Int64 ( 5 ) , decimal: BSONDecimal128 ( " 5 " ) !) ,
220- BSONNumberTestCase ( int: - 5 , double: - 5.0 , int32: Int32 ( - 5 ) , int64: Int64 ( - 5 ) , decimal: BSONDecimal128 ( " -5 " ) !) ,
223+ BSONNumberTestCase (
224+ int: - 5 ,
225+ double: - 5.0 ,
226+ int32: Int32 ( - 5 ) ,
227+ int64: Int64 ( - 5 ) ,
228+ decimal: BSONDecimal128 ( " -5 " ) !
229+ ) ,
221230 BSONNumberTestCase ( int: 0 , double: 0.0 , int32: Int32 ( 0 ) , int64: Int64 ( 0 ) , decimal: BSONDecimal128 ( " 0 " ) !) ,
222231 BSONNumberTestCase ( int: nil , double: 1.234 , int32: nil , int64: nil , decimal: BSONDecimal128 ( " 1.234 " ) !) ,
223232 BSONNumberTestCase ( int: nil , double: - 31.234 , int32: nil , int64: nil , decimal: BSONDecimal128 ( " -31.234 " ) !)
0 commit comments