mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
Fix spelling (#128)
* Fix spelling in .cpp files * Fix spelling in all files
This commit is contained in:
@@ -61,7 +61,7 @@ SECTIONS {
|
||||
/* The data section is written to Flash but linked as if it were in RAM.
|
||||
*
|
||||
* This is required because its initial value matters (so it has to be in
|
||||
* persistant memory in the first place), but it is a R/W area of memory
|
||||
* persistent memory in the first place), but it is a R/W area of memory
|
||||
* so it will have to live in RAM upon execution (in linker lingo, that
|
||||
* translates to the data section having a LMA in Flash and a VMA in RAM).
|
||||
*
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
#include <ion/unicode/utf8_helper.h>
|
||||
#include <string.h>
|
||||
|
||||
void assert_occurences_count(const char * string, CodePoint c, int result) {
|
||||
void assert_occurrences_count(const char * string, CodePoint c, int result) {
|
||||
quiz_assert(UTF8Helper::CountOccurrences(string, c) == result);
|
||||
}
|
||||
|
||||
QUIZ_CASE(ion_utf8_helper_count_occurrences) {
|
||||
assert_occurences_count("1234", '1', 1);
|
||||
assert_occurences_count("2232", '2', 3);
|
||||
assert_occurences_count("2π2∑32∑", UCodePointGreekSmallLetterPi, 1);
|
||||
assert_occurences_count("2π2∑32∑", UCodePointNArySummation, 2);
|
||||
assert_occurrences_count("1234", '1', 1);
|
||||
assert_occurrences_count("2232", '2', 3);
|
||||
assert_occurrences_count("2π2∑32∑", UCodePointGreekSmallLetterPi, 1);
|
||||
assert_occurrences_count("2π2∑32∑", UCodePointNArySummation, 2);
|
||||
}
|
||||
|
||||
void assert_code_point_searched_is(const char * string, CodePoint c, const char * result) {
|
||||
|
||||
Reference in New Issue
Block a user