cpp-lln-lab / CPP_PTB

a set of function to make it easier to create behavioral, EEG, fMRI experiment with psychtoolbox
https://cpp-ptb.readthedocs.io/en/latest/index.html#
MIT License
12 stars 13 forks source link

Add stand alone function to get the sound devise id #183

Closed marcobarilari closed 2 years ago

codecov[bot] commented 2 years ago

Codecov Report

Merging #183 (999d13c) into dev (ac16cd4) will decrease coverage by 0.60%. The diff coverage is 0.00%.

:exclamation: Current head 999d13c differs from pull request most recent head 7463a51. Consider uploading reports for the commit 7463a51 to get more accurate results

@@            Coverage Diff             @@
##              dev     #183      +/-   ##
==========================================
- Coverage   22.72%   22.11%   -0.61%     
==========================================
  Files          58       59       +1     
  Lines         836      859      +23     
==========================================
  Hits          190      190              
- Misses        646      669      +23     
Flag Coverage Δ
unittests 22.11% <0.00%> (-0.61%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/utils/ptb_soundDevice_test.m 0.00% <0.00%> (ø)

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

marcobarilari commented 2 years ago

I let you do the magic @Remi-Gau

Remi-Gau commented 2 years ago

I let you do the magic @Remi-Gau

Abracadabra :magic_wand:

Remi-Gau commented 2 years ago

I let you do the magic @Remi-Gau

Abracadabra magic_wand

what was supposed to happen?

CerenB commented 2 years ago

is there a test function for that? ;)

Remi-Gau commented 2 years ago

is there a test function for that? ;)

You mean this?

function test_rabbitInHat()

    hat = [];
    hat = abracadabra(hat)

   expected = ['rabbit'];

   assertEqual(hat, expected);

end

:rabbit: :rabbit2: