Radosław Miernik
Open source? Embrace, understand, develop.
Rozwiązanie
Rozwiązanie
Rozwiązanie
Edge case!
Standard (np. Visa)
American Express
Diners Club
UnionPay
16
14
14 lub 16
16 lub 19
3
4
3
3
Numer
CVV/CVC/...
A co z imieniem i nazwiskiem...?
Pablo Diego José Francisco de Paula Juan Nepomuceno María de los Remedios Cipriano de la Santísima Trinidad Ruiz y Picasso
Pablo Diego José Francisco de Paula Juan Nepomuceno María de los Remedios Cipriano de la Santísima Trinidad Ruiz y Picasso
1993
1995
2011
Nepal Standard Time +05:45
French satellite operator Eutelsat failed to account for last year’s leap year, leading to an embarrassing service outage that lasted for 48 hours.
Czy rozgrywka w szachach musi się skończyć?
Ile wartości się spodziewamy w tym dropdownie?
Średnia 4.67.
Mediana 2.
Odchylenie 9.39.
Maksimum
Problem: automatyczne tworzenie rezerwacji dla gości hotelowych.
scenario({
name: 'hotel booking modified, manual status',
hotelBooking: hotelBooking('R1 (M1) 3PAX 1-2 Confirmed'),
existing: [
existingReservation('X1. R1 D1 S1 10:00 4PAX CANCELED! [P1]'),
existingReservation('X2. R1 D2 S1 10:00 4PAX PROVISIONAL! [P1]'),
],
rules: [rule('P1 enabled (M1) R1 S1 10:00 All Confirmed')],
patch: {
cancel: [],
create: [],
update: [
expectedReservation('X1. R1 D1 S1 10:00 3PAX CANCELED [P1]'),
expectedReservation('X2. R1 D2 S1 10:00 3PAX PROVISIONAL [P1]'),
],
},
});
By Radosław Miernik
Wykład na ZOSIA 2025.