Exemplo n.º 1
0
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()
Exemplo n.º 2
0
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()
Exemplo n.º 3
0
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()