Skip to content
Snippets Groups Projects
Select Git revision
  • fc386f0a4d6c9905fe60b3a73056e5fc1d368647
  • master default protected
  • subtemplate
  • release_7.0.6
  • php84
  • 6.x
  • v5.x-test
  • 5x
  • 7.1.0
  • 7.0.6
  • 7.0.5
  • 7.0.4
  • 7.0.3
  • 7.0.2
  • 7.0.1
  • 7.0.0
  • 6.1.7
  • 6.1.6
  • 6.1.5
  • 6.1.4
  • 6.1.3
  • 6.1.2
  • 6.1.1
  • 6.1.0
  • 6.0.3
  • 6.0.2
  • 5.0.6
  • 6.0.1
28 results

MacroController.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    test_point.c 467 B
    #include<stdio.h>
    #include<stdlib.h>
    #include<assert.h>
    #include"../src/figures/point.h"
    
    
    #define ROUGE  "\x1B[31m"
    #define VERT "\x1B[32m"
    #define DEFAUT  "\x1B[0m"
    
    int main(){
      printf("%s",ROUGE);
    
      point_t * p = creer_point(10, 10, creer_couleur(125, 0, 210));
    
      assert( p->detruire !=NULL );
      assert( p->afficher !=NULL );
    
      p->detruire(p);
    
      printf("%stest_point a passé les tests avec succès\n", VERT);
      printf("%s",DEFAUT);
      return EXIT_SUCCESS;
    }