Mercurial > sypikslang
comparison gamelib/tests/test_lab.py @ 36:efc4f90cfd63
Mission refactoring and research fix.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Mon, 07 May 2012 00:18:16 +0200 |
parents | 23720d0fd9a0 |
children | 373c57ab4140 |
comparison
equal
deleted
inserted
replaced
35:2754c453b39b | 36:efc4f90cfd63 |
---|---|
25 all_sciences.add(type(science)) | 25 all_sciences.add(type(science)) |
26 self.assertTrue(len(all_sciences) > 3) | 26 self.assertTrue(len(all_sciences) > 3) |
27 | 27 |
28 def test_find_new_products(self): | 28 def test_find_new_products(self): |
29 lab = Lab(LAB_DATA) | 29 lab = Lab(LAB_DATA) |
30 new_products = lab.find_new_products(None) | 30 new_products = lab.find_new_products() |
31 self.assertTrue(products.TeslaTank in new_products) | 31 self.assertTrue(products.TeslaTank in new_products) |
32 self.assertTrue(products.DoomsdayVirus not in new_products) | 32 self.assertTrue(products.DoomsdayVirus not in new_products) |
33 | 33 |
34 def test_find_new_research(self): | 34 def test_find_new_research(self): |
35 lab = Lab(LAB_DATA) | 35 lab = Lab(LAB_DATA) |