# Path: q2_types/feature_table/_format.py
# class BIOMV100Format(model.TextFileFormat):
# class BIOMV210Format(model.BinaryFileFormat):
#     def sniff(self):
#     def open(self):
#     def sniff(self):
# 
# Path: q2_types/feature_table/_type.py



import unittest
from q2_types.feature_table import (FeatureTable, Frequency,
                                    RelativeFrequency, PercentileNormalized,
                                    Composition, Balance,
                                    PresenceAbsence, BIOMV210DirFmt, Design)
from qiime2.plugin.testing import TestPluginBase
#
# The full license is in the file LICENSE, distributed with this software.
# ----------------------------------------------------------------------------




class TestTypes(TestPluginBase):
    package = 'q2_types.feature_table.tests'

    def test_feature_table_semantic_type_registration(self):
        self.assertRegisteredSemanticType(FeatureTable)

    def test_frequency_semantic_type_registration(self):
        self.assertRegisteredSemanticType(Frequency)

    def test_relative_frequency_semantic_type_registration(self):
        self.assertRegisteredSemanticType(RelativeFrequency)

    def test_presence_absence_semantic_type_registration(self):
        self.assertRegisteredSemanticType(PresenceAbsence)

    def test_composition_semantic_type_registration(self):
        self.assertRegisteredSemanticType(Composition)

    def test_balance_semantic_type_registration(self):
        self.assertRegisteredSemanticType(Balance)

    def test_feature_table_semantic_type_to_v210_format_registration(self):
        self.assertSemanticTypeRegisteredToFormat(

# Path: q2_types/feature_table/_format.py
# class BIOMV100Format(model.TextFileFormat):
# class BIOMV210Format(model.BinaryFileFormat):
#     def sniff(self):
#     def open(self):
#     def sniff(self):
# 
# Path: q2_types/feature_table/_type.py



# Path: q2_types/feature_table/tests/test_type.py
import unittest
from q2_types.feature_table import (FeatureTable, Frequency,
                                    RelativeFrequency, PercentileNormalized,
                                    Composition, Balance,
                                    PresenceAbsence, BIOMV210DirFmt, Design)
from qiime2.plugin.testing import TestPluginBase

#
# The full license is in the file LICENSE, distributed with this software.
# ----------------------------------------------------------------------------




class TestTypes(TestPluginBase):
    package = 'q2_types.feature_table.tests'

    def test_feature_table_semantic_type_registration(self):
        self.assertRegisteredSemanticType(FeatureTable)

    def test_frequency_semantic_type_registration(self):
        self.assertRegisteredSemanticType(Frequency)

    def test_relative_frequency_semantic_type_registration(self):
        self.assertRegisteredSemanticType(RelativeFrequency)

    def test_presence_absence_semantic_type_registration(self):
        self.assertRegisteredSemanticType(PresenceAbsence)

    def test_composition_semantic_type_registration(self):
        self.assertRegisteredSemanticType(Composition)

    def test_balance_semantic_type_registration(self):
        self.assertRegisteredSemanticType(Balance)

    def test_feature_table_semantic_type_to_v210_format_registration(self):
        self.assertSemanticTypeRegisteredToFormat(

            FeatureTable[Frequency | RelativeFrequency | PresenceAbsence |