# Path: mppsolar/protocols/daly40.py
# class daly40(daly):
#     """
#     DALY - Daly40 BMS protocol handler
#     """
# 
#     def __init__(self, *args, **kwargs) -> None:
#         super().__init__()
#         self._protocol_id = b"DALY40"
#         self.module_address = bytes.fromhex("40")


import unittest
from mppsolar.protocols.daly40 import daly40 as pi


class test_daly_decode(unittest.TestCase):
    maxDiff = 9999

    def test_daly_SOC(self):
        """test the decode of a SOC response"""

# Path: mppsolar/protocols/daly40.py
# class daly40(daly):
#     """
#     DALY - Daly40 BMS protocol handler
#     """
# 
#     def __init__(self, *args, **kwargs) -> None:
#         super().__init__()
#         self._protocol_id = b"DALY40"
#         self.module_address = bytes.fromhex("40")


# Path: tests/test_protocol_daly40.py
import unittest
from mppsolar.protocols.daly40 import daly40 as pi



class test_daly_decode(unittest.TestCase):
    maxDiff = 9999

    def test_daly_SOC(self):
        """test the decode of a SOC response"""

        protocol = pi()