Skip to content
This repository
  • 1 commit
  • 2 files changed
  • 0 comments
  • 1 contributor
1  src/strand.py
... ...
@@ -0,0 +1 @@
  1
+bases = set(['A', 'C', 'G', 'T'])
15  src/strandtest.py
... ...
@@ -0,0 +1,15 @@
  1
+#!/usr/bin/env python
  2
+
  3
+"""Unit test for strand.py"""
  4
+
  5
+import strand
  6
+import unittest
  7
+
  8
+class BasesCheck(unittest.TestCase):
  9
+    correct_bases = set(['A', 'C', 'G', 'T'])
  10
+    def test(self):
  11
+        """It should be just that set"""
  12
+        self.assertEqual(self.correct_bases, strand.bases)
  13
+
  14
+if __name__ == "__main__":
  15
+    unittest.main()

No commit comments for this range

Something went wrong with that request. Please try again.