|
@ -1,14 +1,14 @@ |
|
|
#include "unity.h" // Include the Unity header file |
|
|
#include "unity.h" // Include the Unity header file |
|
|
#include "../src/convert_ton_to_mt.h" // Include the header file containing the function to be tested |
|
|
|
|
|
|
|
|
#include "../src/convert_ton_to_mt.h" |
|
|
|
|
|
|
|
|
// Test setup function |
|
|
// Test setup function |
|
|
void setUp(void) { |
|
|
void setUp(void) { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Test teardown function |
|
|
|
|
|
|
|
|
|
|
|
void tearDown(void) { |
|
|
void tearDown(void) { |
|
|
// This function will be called after each test |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
// Test case for tons_to_megatons function |
|
|
// Test case for tons_to_megatons function |
|
|