# Path: q2_types/ordination/_format.py
# class OrdinationFormat(model.TextFileFormat):
# class ProcrustesStatisticsFmt(model.TextFileFormat):
#     def sniff(self):
#     def validate(self, level):
#     METADATA_COLUMNS = {
#         'true M^2 value',
#         'p-value for true M^2 value',
#         'number of Monte Carlo permutations',
#     }
# 
# Path: q2_types/ordination/_type.py



import unittest
from q2_types.ordination import (
    PCoAResults, OrdinationDirectoryFormat,
    ProcrustesStatistics, ProcrustesStatisticsDirFmt,
)
from qiime2.plugin.testing import TestPluginBase
# ----------------------------------------------------------------------------
# Copyright (c) 2016-2021, QIIME 2 development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ----------------------------------------------------------------------------






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

    def test_pcoa_results_semantic_type_registration(self):
        self.assertRegisteredSemanticType(PCoAResults)

    def test_pcoa_results_semantic_type_to_ordination_fmt_registration(self):
        self.assertSemanticTypeRegisteredToFormat(PCoAResults,
                                                  OrdinationDirectoryFormat)

    def test_procrustes_m2_semantic_type_registration(self):
        self.assertRegisteredSemanticType(ProcrustesStatistics)

    def test_procrustes_m2_semantic_type_to_m2_fmt_registration(self):

# Path: q2_types/ordination/_format.py
# class OrdinationFormat(model.TextFileFormat):
# class ProcrustesStatisticsFmt(model.TextFileFormat):
#     def sniff(self):
#     def validate(self, level):
#     METADATA_COLUMNS = {
#         'true M^2 value',
#         'p-value for true M^2 value',
#         'number of Monte Carlo permutations',
#     }
# 
# Path: q2_types/ordination/_type.py



# Path: q2_types/ordination/tests/test_type.py
import unittest
from q2_types.ordination import (
    PCoAResults, OrdinationDirectoryFormat,
    ProcrustesStatistics, ProcrustesStatisticsDirFmt,
)
from qiime2.plugin.testing import TestPluginBase

# ----------------------------------------------------------------------------
# Copyright (c) 2016-2021, QIIME 2 development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# ----------------------------------------------------------------------------






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

    def test_pcoa_results_semantic_type_registration(self):
        self.assertRegisteredSemanticType(PCoAResults)

    def test_pcoa_results_semantic_type_to_ordination_fmt_registration(self):
        self.assertSemanticTypeRegisteredToFormat(PCoAResults,
                                                  OrdinationDirectoryFormat)

    def test_procrustes_m2_semantic_type_registration(self):
        self.assertRegisteredSemanticType(ProcrustesStatistics)

    def test_procrustes_m2_semantic_type_to_m2_fmt_registration(self):

        self.assertSemanticTypeRegisteredToFormat(ProcrustesStatistics,