                     
                     expect(o1?.amount) == anyInt as! Int?
                 }
+                
+                it("should deserialize Doubles") {
+                    let o1 = DeserializableObject(from: ["price": 2.0])
+                    let anyDouble = 5.0 as Any?
+                    
+                    o1?.price <-> anyDouble
+                    
+                    expect(o1?.price) == anyDouble as! Double?
+                }
             }
         }
     }

class DeserializableObject: Deserializable {
    var uuid: String?
    var amount: Int?
    required init?(from raw: Any) {
        map(from: raw)
    }

            return [
                "uuid": {self.uuid <-> $0},
                "amount": {self.amount <-> $0},
                "price": {self.price <-> $0}
            ]
        }
    }
