BAEL-2766 Added more asserts to add items to map
This commit is contained in:
parent
cef5964b6b
commit
5a3d6a0c51
|
@ -31,7 +31,9 @@ class MapTest{
|
|||
map.putAll(hobbyMap)
|
||||
|
||||
assertTrue(map == [name:"Jerry", age: 42, city: "New York", hobby:"Singing"])
|
||||
|
||||
assertTrue(hobbyMap.hobby == "Singing")
|
||||
assertTrue(hobbyMap[hobbyLiteral] == "Singing")
|
||||
|
||||
map.plus([1:20]) // returns new map
|
||||
|
||||
map << [2:30]
|
||||
|
@ -143,4 +145,4 @@ class MapTest{
|
|||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue