marking2/docdiff_test3.scala
changeset 227 b5f3e814a710
child 283 ef5f62bf5987
equal deleted inserted replaced
226:5e489c9fe47b 227:b5f3e814a710
       
     1 
       
     2 
       
     3 val urban_list1 = List("a", "b", "b", "c", "d")
       
     4 val urban_list2 = List("d", "b", "d", "b", "d")
       
     5 
       
     6 assert(prod(urban_list1, urban_list2) == 7)
       
     7 
       
     8 assert(prod(urban_list1, urban_list1) == 7)
       
     9 
       
    10 assert(prod(urban_list2, urban_list2) == 13)