mirror of
https://github.com/jwetzell/bmip10-js.git
synced 2026-08-11 08:43:39 +00:00
update test logging
This commit is contained in:
@@ -12,5 +12,12 @@ const encodedData = rawData.map((sample)=>{
|
||||
const decodedData = encodedData.map((sample)=>{
|
||||
return decoder.decode(sample)
|
||||
});
|
||||
console.log(encodedData);
|
||||
console.log(decodedData);
|
||||
|
||||
console.table(rawData.map((sample, index)=>{
|
||||
return {
|
||||
raw: sample,
|
||||
encoded: encodedData[index],
|
||||
decoded: decodedData[index],
|
||||
diff: decodedData[index] - sample,
|
||||
}
|
||||
}))
|
||||
Reference in New Issue
Block a user