Ejemplo n.º 1
0
 def test_draw_temperature_levels(self):
     w = World.open_protobuf("%s/seed_28070.world" % self.tests_data_dir)
     target = PNGWriter.rgba_from_dimensions(w.width, w.height)
     draw_temperature_levels(w, target)
     self._assert_img_equal("temperature_28070", target)
Ejemplo n.º 2
0
 def test_draw_temperature_levels(self):
     w = World.open_protobuf("%s/seed_28070.world" % self.tests_data_dir)
     target = PixelCollector(w.width, w.height)
     draw_temperature_levels(w, target)
     self._assert_img_equal("temperature_28070", target)
Ejemplo n.º 3
0
 def test_draw_temperature_levels(self):
     w = World.open_protobuf("%s/seed_28070.world" % self.tests_data_dir)
     target = PNGWriter.rgba_from_dimensions(w.width, w.height)
     draw_temperature_levels(w, target)
     self._assert_img_equal("temperature_28070", target)
Ejemplo n.º 4
0
 def test_draw_temperature_levels(self):
     w = World.open_protobuf("%s/seed_28070.world" % self.tests_data_dir)
     target = PixelCollector(w.width, w.height)
     draw_temperature_levels(w, target)
     self._assert_img_equal("temperature_28070", target)