Skip to content
forked from tourfl/Sogitest

Exercice recrutement Sogilis

Notifications You must be signed in to change notification settings

sogilis/Sogitest

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sogitest: Bit Stuffing

It is a bit stuffing encoder.

After 5 consecutive '1', it adds a '0' and after 5 consecutive '0' it adds a '1'.

candidat@debian-sogilis:~$ echo 00111110 | ./bin/encoder
001111100

Instructions (in french): bit stuffing

Installation

Dependencies

On Ubuntu:

sudo add-apt-repository ppa:duggan/bats
sudo apt-get update
sudo apt-get install bats

On Mac OS X:

brew install bats-core

Build

make

Binary is put in bin/ (automatically created).

Test

make test

5 tests are executed.

About

Exercice recrutement Sogilis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 49.8%
  • Shell 25.7%
  • Makefile 24.5%