def test_reverse_latitude(self): section = self.section_3() section['scanningMode'] = 0b00000000 metadata = empty_metadata() grid_definition_template_40(section, metadata) expected = self.expected(0, 1, y_neg=True) self.assertEqual(metadata, expected)
def test_transposed(self): section = self.section_3() section['scanningMode'] = 0b01100000 metadata = empty_metadata() grid_definition_template_40(section, metadata) expected = self.expected(1, 0, y_neg=False) self.assertEqual(metadata, expected)
def test_reverse_latitude(self): section = self.section_3() section['scanningMode'] = 0b00000000 metadata = empty_metadata() grid_definition_template_40(section, metadata) expected = self.expected(0, 1, y_neg=True) self.assertEqual(metadata, expected)
def test_transposed(self): section = self.section_3() section['scanningMode'] = 0b01100000 metadata = empty_metadata() grid_definition_template_40(section, metadata) expected = self.expected(1, 0, y_neg=False) self.assertEqual(metadata, expected)
def test(self): section = self.section_3() metadata = empty_metadata() grid_definition_template_40(section, metadata) expected = self.expected(0, 1, y_neg=False) self.assertEqual(metadata, expected)
def test(self): section = self.section_3() metadata = empty_metadata() grid_definition_template_40(section, metadata) expected = self.expected(0, 1, y_neg=False) self.assertEqual(metadata, expected)