From ec52e7fcda3058d108aa4380d822be25b7d72f87 Mon Sep 17 00:00:00 2001 From: Michael Nolan Date: Wed, 4 Mar 2020 09:40:23 -0500 Subject: [PATCH] Add bit selectors for most of the tests --- src/decoder/test/test_power_decoder.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/decoder/test/test_power_decoder.py b/src/decoder/test/test_power_decoder.py index 0cb708ea..fdb17847 100644 --- a/src/decoder/test/test_power_decoder.py +++ b/src/decoder/test/test_power_decoder.py @@ -96,21 +96,21 @@ class DecoderTestCase(FHDLTestCase): self.run_tst((26, 32), "major.csv") self.generate_ilang((26, 32), "major.csv") - # def test_minor_19(self): - # self.run_tst(10, "minor_19.csv", suffix=(0, 5)) - # self.generate_ilang(10, "minor_19.csv", suffix=(0, 5)) + def test_minor_19(self): + self.run_tst((1, 11), "minor_19.csv", suffix=(0, 5)) + self.generate_ilang((1, 11), "minor_19.csv", suffix=(0, 5)) - # def test_minor_19_00000(self): - # self.run_tst(10, "minor_19_00000.csv") - # self.generate_ilang(10, "minor_19_00000.csv") + def test_minor_19_00000(self): + self.run_tst((1, 11), "minor_19_00000.csv") + self.generate_ilang((1, 11), "minor_19_00000.csv") - # def test_minor_30(self): - # self.run_tst(4, "minor_30.csv") - # self.generate_ilang(4, "minor_30.csv") + def test_minor_30(self): + self.run_tst((1, 5), "minor_30.csv") + self.generate_ilang((1, 5), "minor_30.csv") - # def test_minor_31(self): - # self.run_tst(10, "minor_31.csv", suffix=(0, 5)) - # self.generate_ilang(10, "minor_31.csv", suffix=(0, 5)) + def test_minor_31(self): + self.run_tst((1, 11), "minor_31.csv", suffix=(0, 5)) + self.generate_ilang((1, 11), "minor_31.csv", suffix=(0, 5)) # #def test_minor_31_prefix(self): # # self.run_tst(10, "minor_31.csv", suffix=(5, 10)) -- 2.30.2