def test_datalogger_basic():
    d = Datalogger()

    for i in range(100):
        for j in range(2):
            value = i * 0.01 * j
            d.append('ea',float(i*0.01),j,value)

    d.export()
def test_datalogger_unauthorized_name():
    d = Datalogger()

    table = np.arange(100)
    random.shuffle(table)
    for i in table:
        for j in range(2):
            value = i * 0.01 * j
            d.append('\[',float(i*0.01),j,value)

    d.export()
def test_datalogger_random_arrival():
    d = Datalogger()

    table = np.arange(100)
    random.shuffle(table)

    for i in table:
        for j in range(2):
            value = i * 0.01 * j
            d.append('ea',float(i*0.01),j,value)

    d.export()